From 73f190c3d55147380b8aec471de5b1d719f2f9f3 Mon Sep 17 00:00:00 2001 From: drl990114 Date: Wed, 11 Oct 2023 22:19:44 +0800 Subject: [PATCH] fix: build error --- apps/desktop/src-tauri/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/desktop/src-tauri/src/main.rs b/apps/desktop/src-tauri/src/main.rs index 3cffdf8c..c8a3b03b 100644 --- a/apps/desktop/src-tauri/src/main.rs +++ b/apps/desktop/src-tauri/src/main.rs @@ -77,6 +77,7 @@ fn main() { #[cfg(target_os = "macos")] use cocoa::appkit::{NSWindow, NSWindowStyleMask, NSWindowTitleVisibility}; +#[cfg(target_os = "macos")] use objc::runtime::YES; pub trait WindowExt {