mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-25 10:18:31 +02:00
Fix unused var
This commit is contained in:
@@ -1764,7 +1764,7 @@ pub fn run() {
|
|||||||
.level(if is_dev() { log::LevelFilter::Debug } else { log::LevelFilter::Info })
|
.level(if is_dev() { log::LevelFilter::Debug } else { log::LevelFilter::Info })
|
||||||
.build(),
|
.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),
|
// 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
|
// 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
|
// TODO: Keep track of the last focused window and always focus that one
|
||||||
|
|||||||
Reference in New Issue
Block a user