From 4aab25571b20f7f44ad998e1658e11c92543acb8 Mon Sep 17 00:00:00 2001 From: Luc Fauvel Date: Sat, 17 Aug 2024 21:26:40 -0400 Subject: [PATCH] More macOS --- apps/desktop/src-tauri/Cargo.lock | 2 +- apps/desktop/src-tauri/Cargo.toml | 2 +- apps/desktop/src-tauri/src/main.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/desktop/src-tauri/Cargo.lock b/apps/desktop/src-tauri/Cargo.lock index 00ac87d4..a3f2e86f 100644 --- a/apps/desktop/src-tauri/Cargo.lock +++ b/apps/desktop/src-tauri/Cargo.lock @@ -2526,7 +2526,7 @@ name = "overlayed" version = "0.0.0" dependencies = [ "anyhow", - "cocoa 0.25.0", + "cocoa 0.26.0", "objc", "serde", "serde_json", diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml index 19c309b1..204b1409 100644 --- a/apps/desktop/src-tauri/Cargo.toml +++ b/apps/desktop/src-tauri/Cargo.toml @@ -35,7 +35,7 @@ anyhow = "1.0.86" # macos dependencies [target.'cfg(target_os = "macos")'.dependencies] objc = "0.2.7" -cocoa = "0.25.0" +cocoa = "0.26.0" tauri-nspanel = { git = "https://github.com/ahkohd/tauri-nspanel", branch = "v2" } system-notification = { git = "https://github.com/ahkohd/tauri-toolkit", branch = "v2" } diff --git a/apps/desktop/src-tauri/src/main.rs b/apps/desktop/src-tauri/src/main.rs index b14681e7..0f6c7d78 100644 --- a/apps/desktop/src-tauri/src/main.rs +++ b/apps/desktop/src-tauri/src/main.rs @@ -32,7 +32,7 @@ use window_custom::macos::WebviewWindowExtMacos; use system_notification::WorkspaceListener; #[cfg(target_os = "macos")] -use tauri::Window; +use tauri::WebviewWindow; pub struct Pinned(AtomicBool);