mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-20 06:56:17 -05:00
fix: refine macOS authentication app lifecycle
This commit is contained in:
5 files changed
+38
-8
No files matched your search
@@ -19,6 +19,9 @@ pub async fn authenticate(
|
||||
|
||||
tauri::Builder::default()
|
||||
.setup(move |app| {
|
||||
#[cfg(target_os = "macos")]
|
||||
app.set_activation_policy(tauri::ActivationPolicy::Accessory);
|
||||
|
||||
apply_auth_theme(app.handle(), window_theme);
|
||||
let app_handle = app.handle().clone();
|
||||
|
||||
|
||||
Reference in new issue
Block a user