mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-05 13:52:56 -04:00
only use swift_rs on macOS in build script
missed this in #239, silly me
This commit is contained in:
@@ -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