mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-09-11 12:25:42 +03:00
change activation policy only on macos
This commit is contained in:
parent
55fff0677f
commit
40d3961def
@ -383,6 +383,7 @@ fn main() {
|
||||
_ => {}
|
||||
})
|
||||
.setup(move |app| {
|
||||
#[cfg(target_os = "macos")]
|
||||
app.set_activation_policy(tauri::ActivationPolicy::Accessory);
|
||||
|
||||
let resolver = app.path_resolver();
|
||||
|
Loading…
Reference in New Issue
Block a user