mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-03 22:26:43 +00:00
fix(desktop): set macOS accessory activation policy to Accessory (#189)
This commit is contained in:
parent
ed20f9a142
commit
52919b8d2f
@ -230,7 +230,8 @@ pub fn run() {
|
||||
}
|
||||
// setup::deeplink::setup_deeplink(app);
|
||||
// #[cfg(all(target_os = "macos", debug_assertions))]
|
||||
// app.set_activation_policy(ActivationPolicy::Accessory);
|
||||
#[cfg(target_os = "macos")]
|
||||
app.set_activation_policy(ActivationPolicy::Accessory);
|
||||
// let mut store = StoreBuilder::new("appConfig.bin").build(app.handle().clone());
|
||||
// let store = app.handle().store_builder("appConfig.json").build()?;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user