Update symlink path for Spacedrive.framework on macOS

- Adjusted the symlink creation for Spacedrive.framework to include the "Frameworks" directory, aligning with the expected structure for native dependencies.
This commit is contained in:
Jamie Pine 2025-12-10 08:42:47 -08:00
parent 4d9dfbd922
commit 3aa608fbfc

View File

@ -120,7 +120,7 @@ pub fn symlink_libs_macos(root: &Path, native_deps: &Path) -> Result<()> {
use std::os::unix::fs as unix_fs; use std::os::unix::fs as unix_fs;
// Create Spacedrive.framework symlink for dylibs (matches v1 behavior) // Create Spacedrive.framework symlink for dylibs (matches v1 behavior)
let framework = native_deps.join("Spacedrive.framework"); let framework = native_deps.join("Frameworks").join("Spacedrive.framework");
if framework.exists() { if framework.exists() {
// Sign all dylibs in the framework (required for macOS 13+) // Sign all dylibs in the framework (required for macOS 13+)
let libs_dir = framework.join("Libraries"); let libs_dir = framework.join("Libraries");