mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-19 18:05:41 +08:00
1 parent
363e28ff69
commit
609da457f7
1 file changed
-2
@@ -35,8 +35,6 @@ pub fn find_unused_port() -> Result<u16> {
|
||||
|
||||
/// handle something when start app
|
||||
pub fn resolve_setup(app: &mut App) {
|
||||
#[cfg(target_os = "macos")]
|
||||
app.set_activation_policy(tauri::ActivationPolicy::Accessory);
|
||||
let version = app.package_info().version.to_string();
|
||||
handle::Handle::global().init(app.app_handle());
|
||||
VERSION.get_or_init(|| version.clone());
|
||||
|
||||
Reference in new issue
Block a user