You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Respect unpack minimatch for symlinks within previously unpacked directories (#341)
* fix: Respecting unpack configuration when considering symlinks within previously unpacked directories. This directly fixes unpacking static `.framework` modules on Mac, as otherwise codesigning will fail due to symlink files/directories not being reflected in the app.asar.unpacked directory.
Added unit test with Hello.framework, generated from tutorial https://jano.dev/apple/mach-o/2024/06/28/Hello-Static-Framework.htmlFixes: electron-userland/electron-builder#8655
* adding unit test by programmatically create symlinks during test case (same approach as has been taken for filesystem UT already)
* cleanup changes post-merging `main`
'Could not create symlinks for unpacked assets. On Windows, consider activating Developer Mode to allow non-admin users to create symlinks by following the instructions at https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development.',
71
+
);
72
+
}
73
+
throwerror;
74
+
});
75
+
}
56
76
returnout.end();
57
77
};
58
78
59
79
exportasyncfunctionwriteFilesystem(
60
80
dest: string,
61
81
filesystem: Filesystem,
62
-
fileList: BasicFilesArray,
82
+
lists: FilesystemFilesAndLinks,
63
83
metadata: InputMetadata,
64
84
){
65
85
constheaderPickle=Pickle.createEmpty();
@@ -76,7 +96,7 @@ export async function writeFilesystem(
0 commit comments