Clean up filesystem sync setting

This commit is contained in:
Gregory Schier
2025-01-13 16:46:56 -08:00
parent 658e2179ca
commit 49f5e980de
6 changed files with 40 additions and 48 deletions

View File

@@ -24,6 +24,9 @@ crate-type = ["staticlib", "cdylib", "lib"]
[profile.release]
strip = true # Automatically strip symbols from the binary.
[features]
cargo-clippy = []
[build-dependencies]
tauri-build = { version = "2.0.4", features = [] }

View File

@@ -1764,7 +1764,7 @@ pub fn run() {
.level(if is_dev() { log::LevelFilter::Debug } else { log::LevelFilter::Info })
.build(),
)
.plugin(tauri_plugin_single_instance::init(|app, args, _cwd| {
.plugin(tauri_plugin_single_instance::init(|app, _args, _cwd| {
// When trying to open a new app instance (common operation on Linux),
// focus the first existing window we find instead of opening a new one
// TODO: Keep track of the last focused window and always focus that one