fix: dont set window on top when second instance is started

This commit is contained in:
2025-07-15 20:28:04 +02:00
parent c395662134
commit 409c8b0b04
4 changed files with 3 additions and 6 deletions

View File

@@ -27,9 +27,6 @@ pub fn run() {
{
builder = builder.plugin(tauri_plugin_single_instance::init(|app, _args, _cwd| {
let app_window = app.get_webview_window("main").expect("no main window");
app_window
.set_always_on_top(true)
.expect("failed to set always on top");
app_window.set_focus().expect("failed to focus");
}));
}