Revert logging from crabnebula dev tools to the tauri-plugin-log

This commit is contained in:
Sebastian Martinez
2024-11-20 11:35:50 +01:00
parent 982ce568b7
commit 743b7af54c
6 changed files with 311 additions and 583 deletions
Generated
+297 -580
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -25,7 +25,7 @@ serde = { version = "1.0.210", features = ["derive"] }
serde_json = { version = "1.0.132" }
tauri = { version = "2.0.4", features = ["isolation"] }
tauri-plugin-clipboard-manager = { version = "2.0.1" }
tauri-plugin-devtools = { version = "2.0.0" }
tauri-plugin-log = { version = "2.0.0" }
tauri-plugin-shell = { version = "2.0.1" }
tauri-plugin-window-state = { version = "2.0.1" }
thiserror = { version = "1.0.64" }
@@ -15,6 +15,7 @@
"core:tray:default",
"shell:allow-open",
"clipboard-manager:default",
"clipboard-manager:allow-write-text"
"clipboard-manager:allow-write-text",
"log:default"
]
}
+1 -1
View File
@@ -37,7 +37,7 @@ impl Profile for AppState {
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
#[cfg(debug_assertions)]
let builder = tauri::Builder::default().plugin(tauri_plugin_devtools::init());
let builder = tauri::Builder::default().plugin(tauri_plugin_log::Builder::new().build());
#[cfg(not(debug_assertions))]
let builder = tauri::Builder::default();
+9
View File
@@ -12,6 +12,7 @@
"dependencies": {
"@tauri-apps/api": "^2.0.2",
"@tauri-apps/plugin-clipboard-manager": "^2.0.0",
"@tauri-apps/plugin-log": "^2.0.0",
"@tauri-apps/plugin-shell": "^2.0.0",
"@tauri-apps/plugin-window-state": "^2.0.0"
},
@@ -1219,6 +1220,14 @@
"@tauri-apps/api": "^2.0.0"
}
},
"node_modules/@tauri-apps/plugin-log": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@tauri-apps/plugin-log/-/plugin-log-2.0.0.tgz",
"integrity": "sha512-C+NII9vzswqnOQE8k7oRtnaw0z5TZsMmnirRhXkCKDEhQQH9841Us/PC1WHtGiAaJ8za1A1JB2xXndEq/47X/w==",
"dependencies": {
"@tauri-apps/api": "^2.0.0"
}
},
"node_modules/@tauri-apps/plugin-shell": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@tauri-apps/plugin-shell/-/plugin-shell-2.0.1.tgz",
+1
View File
@@ -26,6 +26,7 @@
"dependencies": {
"@tauri-apps/api": "^2.0.2",
"@tauri-apps/plugin-clipboard-manager": "^2.0.0",
"@tauri-apps/plugin-log": "^2.0.0",
"@tauri-apps/plugin-shell": "^2.0.0",
"@tauri-apps/plugin-window-state": "^2.0.0"
},