rename Tauri app from bevy-tasks to onyx
This commit is contained in:
parent
27363c8424
commit
c536250072
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Bevy Tasks</title>
|
||||
<title>Onyx</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
|
|
|||
4
apps/tauri/package-lock.json
generated
4
apps/tauri/package-lock.json
generated
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"name": "bevy-tasks",
|
||||
"name": "onyx",
|
||||
"version": "0.1.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "bevy-tasks",
|
||||
"name": "onyx",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "^2.0.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "bevy-tasks",
|
||||
"name": "onyx",
|
||||
"private": true,
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
|
|
|
|||
6
apps/tauri/src-tauri/Cargo.lock
generated
6
apps/tauri/src-tauri/Cargo.lock
generated
|
|
@ -95,7 +95,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
||||
|
||||
[[package]]
|
||||
name = "bevy-tasks-core"
|
||||
name = "onyx-core"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
|
|
@ -112,10 +112,10 @@ dependencies = [
|
|||
]
|
||||
|
||||
[[package]]
|
||||
name = "bevy-tasks-tauri"
|
||||
name = "onyx-tauri"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"bevy-tasks-core",
|
||||
"onyx-core",
|
||||
"chrono",
|
||||
"serde",
|
||||
"serde_json",
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
[package]
|
||||
name = "bevy-tasks-tauri"
|
||||
name = "onyx-tauri"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "Tauri v2 desktop GUI for Bevy Tasks"
|
||||
description = "Tauri v2 desktop GUI for Onyx"
|
||||
license = "GPL-3.0-or-later"
|
||||
repository = "https://github.com/SteelDynamite/bevy-tasks"
|
||||
repository = "https://github.com/SteelDynamite/onyx"
|
||||
|
||||
[lib]
|
||||
name = "bevy_tasks_tauri_lib"
|
||||
name = "onyx_tauri_lib"
|
||||
crate-type = ["staticlib", "cdylib", "rlib"]
|
||||
|
||||
[build-dependencies]
|
||||
|
|
@ -19,7 +19,7 @@ tauri-plugin-dialog = "2"
|
|||
tauri-plugin-os = "2"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
bevy-tasks-core = { path = "../../../crates/bevy-tasks-core" }
|
||||
onyx-core = { path = "../../../crates/onyx-core" }
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
uuid = { version = "1", features = ["serde", "v4"] }
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"identifier": "default",
|
||||
"description": "Default capabilities for Bevy Tasks",
|
||||
"description": "Default capabilities for Onyx",
|
||||
"windows": ["main"],
|
||||
"permissions": [
|
||||
"core:default",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize};
|
|||
use tauri::State;
|
||||
use uuid::Uuid;
|
||||
|
||||
use bevy_tasks_core::{
|
||||
use onyx_core::{
|
||||
config::{AppConfig, WorkspaceConfig},
|
||||
models::{Task, TaskList, TaskStatus},
|
||||
repository::TaskRepository,
|
||||
|
|
@ -321,7 +321,7 @@ async fn test_webdav_connection(
|
|||
username: String,
|
||||
password: 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
|
||||
.test_connection()
|
||||
.await
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||
|
||||
fn main() {
|
||||
bevy_tasks_tauri_lib::run()
|
||||
onyx_tauri_lib::run()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/nicegui-org/nicegui/v2/tauri-conf-schema.json",
|
||||
"productName": "Bevy Tasks",
|
||||
"productName": "Onyx",
|
||||
"version": "0.1.0",
|
||||
"identifier": "com.bevytasks.app",
|
||||
"identifier": "com.onyx.app",
|
||||
"build": {
|
||||
"frontendDist": "../dist",
|
||||
"devUrl": "http://localhost:1422",
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
"withGlobalTauri": false,
|
||||
"windows": [
|
||||
{
|
||||
"title": "Bevy Tasks",
|
||||
"title": "Onyx",
|
||||
"width": 400,
|
||||
"height": 700,
|
||||
"minWidth": 320,
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<div
|
||||
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">
|
||||
Create or open a workspace to get started.
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue