Prepare 0.1.42 macOS Apple silicon release
This commit is contained in:
@@ -21,5 +21,6 @@ export function packageTarget(args, defaults = process) {
|
||||
}
|
||||
|
||||
export function executableName(platform) {
|
||||
if (platform === 'darwin') return 'RuneStone-Browser.app/Contents/MacOS/RuneStone-Browser';
|
||||
return platform === 'win32' ? 'RuneStone-Browser.exe' : 'RuneStone-Browser';
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ export async function stageRuntime({ project, host, platform, arch }) {
|
||||
let backup;
|
||||
let moved = false;
|
||||
try {
|
||||
await cp(source, staged, { recursive: true });
|
||||
await cp(source, staged, { recursive: true, verbatimSymlinks: true });
|
||||
// Electron Packager can leave its temporary root at 0700. Installed resources
|
||||
// must remain traversable after the package manager changes ownership to root.
|
||||
if (platform === 'linux') await chmod(staged, 0o755);
|
||||
|
||||
Reference in New Issue
Block a user