rename Tauri app from bevy-tasks to onyx

This commit is contained in:
Tristan Michael 2026-03-31 09:47:07 -07:00 committed by GitButler
parent 27363c8424
commit c536250072
10 changed files with 20 additions and 20 deletions

View file

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bevy Tasks</title> <title>Onyx</title>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

View file

@ -1,11 +1,11 @@
{ {
"name": "bevy-tasks", "name": "onyx",
"version": "0.1.0", "version": "0.1.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "bevy-tasks", "name": "onyx",
"version": "0.1.0", "version": "0.1.0",
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0", "@tauri-apps/api": "^2.0.0",

View file

@ -1,5 +1,5 @@
{ {
"name": "bevy-tasks", "name": "onyx",
"private": true, "private": true,
"version": "0.1.0", "version": "0.1.0",
"type": "module", "type": "module",

View file

@ -95,7 +95,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
[[package]] [[package]]
name = "bevy-tasks-core" name = "onyx-core"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"chrono", "chrono",
@ -112,10 +112,10 @@ dependencies = [
] ]
[[package]] [[package]]
name = "bevy-tasks-tauri" name = "onyx-tauri"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"bevy-tasks-core", "onyx-core",
"chrono", "chrono",
"serde", "serde",
"serde_json", "serde_json",

View file

@ -1,13 +1,13 @@
[package] [package]
name = "bevy-tasks-tauri" name = "onyx-tauri"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
description = "Tauri v2 desktop GUI for Bevy Tasks" description = "Tauri v2 desktop GUI for Onyx"
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"
repository = "https://github.com/SteelDynamite/bevy-tasks" repository = "https://github.com/SteelDynamite/onyx"
[lib] [lib]
name = "bevy_tasks_tauri_lib" name = "onyx_tauri_lib"
crate-type = ["staticlib", "cdylib", "rlib"] crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies] [build-dependencies]
@ -19,7 +19,7 @@ tauri-plugin-dialog = "2"
tauri-plugin-os = "2" tauri-plugin-os = "2"
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
bevy-tasks-core = { path = "../../../crates/bevy-tasks-core" } onyx-core = { path = "../../../crates/onyx-core" }
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
uuid = { version = "1", features = ["serde", "v4"] } uuid = { version = "1", features = ["serde", "v4"] }
chrono = { version = "0.4", features = ["serde"] } chrono = { version = "0.4", features = ["serde"] }

View file

@ -1,6 +1,6 @@
{ {
"identifier": "default", "identifier": "default",
"description": "Default capabilities for Bevy Tasks", "description": "Default capabilities for Onyx",
"windows": ["main"], "windows": ["main"],
"permissions": [ "permissions": [
"core:default", "core:default",

View file

@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize};
use tauri::State; use tauri::State;
use uuid::Uuid; use uuid::Uuid;
use bevy_tasks_core::{ use onyx_core::{
config::{AppConfig, WorkspaceConfig}, config::{AppConfig, WorkspaceConfig},
models::{Task, TaskList, TaskStatus}, models::{Task, TaskList, TaskStatus},
repository::TaskRepository, repository::TaskRepository,
@ -321,7 +321,7 @@ async fn test_webdav_connection(
username: String, username: String,
password: String, password: String,
) -> Result<(), String> { ) -> Result<(), String> {
let client = bevy_tasks_core::webdav::WebDavClient::new(&url, &username, &password); let client = onyx_core::webdav::WebDavClient::new(&url, &username, &password);
client client
.test_connection() .test_connection()
.await .await

View file

@ -2,5 +2,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() { fn main() {
bevy_tasks_tauri_lib::run() onyx_tauri_lib::run()
} }

View file

@ -1,8 +1,8 @@
{ {
"$schema": "https://raw.githubusercontent.com/nicegui-org/nicegui/v2/tauri-conf-schema.json", "$schema": "https://raw.githubusercontent.com/nicegui-org/nicegui/v2/tauri-conf-schema.json",
"productName": "Bevy Tasks", "productName": "Onyx",
"version": "0.1.0", "version": "0.1.0",
"identifier": "com.bevytasks.app", "identifier": "com.onyx.app",
"build": { "build": {
"frontendDist": "../dist", "frontendDist": "../dist",
"devUrl": "http://localhost:1422", "devUrl": "http://localhost:1422",
@ -13,7 +13,7 @@
"withGlobalTauri": false, "withGlobalTauri": false,
"windows": [ "windows": [
{ {
"title": "Bevy Tasks", "title": "Onyx",
"width": 400, "width": 400,
"height": 700, "height": 700,
"minWidth": 320, "minWidth": 320,

View file

@ -20,7 +20,7 @@
<div <div
class="w-full max-w-sm rounded-2xl bg-card-light p-8 shadow-lg dark:bg-card-dark" class="w-full max-w-sm rounded-2xl bg-card-light p-8 shadow-lg dark:bg-card-dark"
> >
<h1 class="mb-1 text-2xl font-bold">Bevy Tasks</h1> <h1 class="mb-1 text-2xl font-bold">Onyx</h1>
<p class="mb-6 text-sm text-text-secondary-light dark:text-text-secondary-dark"> <p class="mb-6 text-sm text-text-secondary-light dark:text-text-secondary-dark">
Create or open a workspace to get started. Create or open a workspace to get started.
</p> </p>