mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-23 17:43:47 +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| {
|
.setup(move |app| {
|
||||||
|
#[cfg(target_os = "macos")]
|
||||||
app.set_activation_policy(tauri::ActivationPolicy::Accessory);
|
app.set_activation_policy(tauri::ActivationPolicy::Accessory);
|
||||||
|
|
||||||
let resolver = app.path_resolver();
|
let resolver = app.path_resolver();
|
||||||
|
Loading…
Reference in New Issue
Block a user