chore: update

This commit is contained in:
huzibaca 2024-11-26 05:46:34 +08:00
parent 9b2c80494d
commit 1cc6472002
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302

View File

@ -37,7 +37,7 @@ pub fn find_unused_port() -> Result<u16> {
/// handle something when start app
pub async fn resolve_setup(app: &mut App) {
error::redirect_panic_to_log();
#[cfg(target_os = "macos")]
// #[cfg(target_os = "macos")]
app.set_activation_policy(tauri::ActivationPolicy::Accessory);
let version = app.package_info().version.to_string();