mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2025-12-11 20:15:30 +01:00
Fix macOS build and update framework path
- Conditionally compile the macOS Command import - Use Spacedrive.framework directly under native_deps instead of Frameworks/Spacedrive.framework
This commit is contained in:
parent
af43ed76bd
commit
dc690ac217
@ -1,3 +1,4 @@
|
||||
#[cfg(target_os = "macos")]
|
||||
use std::process::Command;
|
||||
|
||||
fn main() {
|
||||
|
||||
@ -120,7 +120,7 @@ pub fn symlink_libs_macos(root: &Path, native_deps: &Path) -> Result<()> {
|
||||
use std::os::unix::fs as unix_fs;
|
||||
|
||||
// Create Spacedrive.framework symlink for dylibs (matches v1 behavior)
|
||||
let framework = native_deps.join("Frameworks").join("Spacedrive.framework");
|
||||
let framework = native_deps.join("Spacedrive.framework");
|
||||
if framework.exists() {
|
||||
// Sign all dylibs in the framework (required for macOS 13+)
|
||||
let libs_dir = framework.join("Libraries");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user