From d8f3c276c049ceb981a276a212c64f43202767e2 Mon Sep 17 00:00:00 2001 From: theo Date: Wed, 24 Jul 2024 15:00:14 +0200 Subject: [PATCH] feat: remove reference to clego inside tauri app --- Cargo.lock | 24 ++++++++++++------------ crates/tauri/Cargo.toml | 4 ++-- crates/tauri/src/main.rs | 2 +- crates/tauri/tauri.conf.json | 6 +++--- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ad838f5..d706ed2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2161,6 +2161,18 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +[[package]] +name = "pharmacie-desktop" +version = "0.1.0" +dependencies = [ + "axum", + "clego", + "tauri", + "tauri-build", + "tokio", + "tower", +] + [[package]] name = "phf" version = "0.8.0" @@ -3245,18 +3257,6 @@ dependencies = [ "walkdir", ] -[[package]] -name = "tauri-clego" -version = "0.1.0" -dependencies = [ - "axum", - "clego", - "tauri", - "tauri-build", - "tokio", - "tower", -] - [[package]] name = "tauri-codegen" version = "2.0.0-beta.19" diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index 6e32742..1bca76e 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "tauri-clego" +name = "pharmacie-desktop" version = "0.1.0" description = "Un logiciel de pharmacie libre et open-source." authors = ["p4pillon"] edition = "2021" [lib] -name = "clego_lib" +name = "pharmacie_desktop_lib" crate-type = ["lib", "cdylib", "staticlib"] [build-dependencies] diff --git a/crates/tauri/src/main.rs b/crates/tauri/src/main.rs index 48351fd..991f759 100644 --- a/crates/tauri/src/main.rs +++ b/crates/tauri/src/main.rs @@ -2,5 +2,5 @@ #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] fn main() { - clego_lib::run() + pharmacie_desktop_lib::run() } diff --git a/crates/tauri/tauri.conf.json b/crates/tauri/tauri.conf.json index 8e441cc..9282f10 100644 --- a/crates/tauri/tauri.conf.json +++ b/crates/tauri/tauri.conf.json @@ -1,7 +1,7 @@ { - "productName": "clego-clean", + "productName": "Logiciel Pharma", "version": "0.0.1", - "identifier": "clego.pharma.libre", + "identifier": "p4pillon.pharma.desktop", "build": { "beforeDevCommand": { "script": "cargo run", @@ -14,7 +14,7 @@ "withGlobalTauri": true, "windows": [ { - "title": "clego-clean", + "title": "Logiciel Pharma", "width": 800, "height": 600 }