mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-10-09 11:01:42 -04:00
only use swift_rs on macOS in build script
missed this in #239, silly me
This commit is contained in:
1 file changed
+7
-4
@@ -1,8 +1,11 @@
|
||||
use swift_rs::build::{link_swift, link_swift_package};
|
||||
|
||||
fn main() {
|
||||
link_swift();
|
||||
link_swift_package("sd-desktop-macos", "./native/macos/");
|
||||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
use swift_rs::build::{link_swift, link_swift_package};
|
||||
|
||||
link_swift();
|
||||
link_swift_package("sd-desktop-macos", "./native/macos/");
|
||||
}
|
||||
|
||||
tauri_build::build();
|
||||
}
|
||||
Reference in new issue
Block a user