From 2a4f6280bccee17e8275dc4ceb51784b47b2ee0a Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Tue, 17 Oct 2023 11:45:07 +0530 Subject: [PATCH] fix: build errors on mac --- packages/hoppscotch-selfhost-desktop/src-tauri/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/hoppscotch-selfhost-desktop/src-tauri/src/main.rs b/packages/hoppscotch-selfhost-desktop/src-tauri/src/main.rs index d061234b2..5662b67a5 100644 --- a/packages/hoppscotch-selfhost-desktop/src-tauri/src/main.rs +++ b/packages/hoppscotch-selfhost-desktop/src-tauri/src/main.rs @@ -29,6 +29,7 @@ fn main() { #[cfg(target_os = "macos")] setup_mac_window(app); } else if cfg!(target_os = "windows") { + #[cfg(target_os = "windows")] use win::window::setup_win_window; #[cfg(target_os = "windows")]