electrobun 0.0.19-beta.103 → 0.0.19-beta.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/cli/index.ts +5 -2
package/package.json
CHANGED
package/src/cli/index.ts
CHANGED
|
@@ -402,6 +402,9 @@ const defaultConfig = {
|
|
|
402
402
|
entitlements: {
|
|
403
403
|
// This entitlement is required for Electrobun apps with a hardened runtime (required for notarization) to run on macos
|
|
404
404
|
"com.apple.security.cs.allow-jit": true,
|
|
405
|
+
// Required for bun runtime to work with dynamic code execution and JIT compilation when signed
|
|
406
|
+
"com.apple.security.cs.allow-unsigned-executable-memory": true,
|
|
407
|
+
"com.apple.security.cs.disable-library-validation": true,
|
|
405
408
|
},
|
|
406
409
|
icons: "icon.iconset",
|
|
407
410
|
},
|
|
@@ -847,7 +850,7 @@ if (commandArg === "init") {
|
|
|
847
850
|
// mkdirSync(destLauncherFolder, {recursive: true});
|
|
848
851
|
// }
|
|
849
852
|
// cpSync(zigLauncherBinarySource, zigLauncherDestination, {recursive: true, dereference: true});
|
|
850
|
-
// Copy launcher for all builds (dev, canary, stable)
|
|
853
|
+
// Copy zig launcher for all builds (dev, canary, stable)
|
|
851
854
|
const bunCliLauncherBinarySource = targetPaths.LAUNCHER_RELEASE;
|
|
852
855
|
const bunCliLauncherDestination = join(appBundleMacOSPath, "launcher") + targetBinExt;
|
|
853
856
|
const destLauncherFolder = dirname(bunCliLauncherDestination);
|
|
@@ -1752,7 +1755,7 @@ exec "\$LAUNCHER_BINARY" "\$@"
|
|
|
1752
1755
|
}
|
|
1753
1756
|
|
|
1754
1757
|
if (OS === 'macos') {
|
|
1755
|
-
// Use the launcher
|
|
1758
|
+
// Use the zig launcher for all builds (dev, canary, stable)
|
|
1756
1759
|
mainProc = Bun.spawn([join(bundleExecPath, 'launcher')], {
|
|
1757
1760
|
stdio: ['inherit', 'inherit', 'inherit'],
|
|
1758
1761
|
cwd: bundleExecPath
|