@vantaloom/runtime-darwin-arm64 0.3.2 → 0.3.3

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/cli/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vantaloom/cli",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Vantaloom local runtime manager.",
package/cli/src/cli.mjs CHANGED
@@ -227,6 +227,15 @@ async function applyPackage(packageRoot, prefix, options) {
227
227
  })
228
228
  }
229
229
 
230
+ // Ensure binaries are executable on Unix (cross-compiled from Windows they lose +x)
231
+ if (process.platform !== "win32") {
232
+ const binDir = path.join(prefix, "bin")
233
+ for (const entry of readdirSync(binDir)) {
234
+ const binPath = path.join(binDir, entry)
235
+ try { chmodSync(binPath, 0o755) } catch {}
236
+ }
237
+ }
238
+
230
239
  await writeLauncher(prefix)
231
240
  await writeText(path.join(prefix, "cli", "config.json"), `${JSON.stringify(mergedConfig, null, 2)}\n`)
232
241
  await writeText(path.join(prefix, "VERSION"), `${version}\n`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vantaloom/runtime-darwin-arm64",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "private": false,
5
5
  "description": "Vantaloom local runtime for darwin-arm64.",
6
6
  "type": "module",