electrobun 1.13.0-beta.1 → 1.13.1-beta.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli/index.ts +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electrobun",
3
- "version": "1.13.0-beta.1",
3
+ "version": "1.13.1-beta.0",
4
4
  "description": "Build ultra fast, tiny, and cross-platform desktop apps with Typescript.",
5
5
  "license": "MIT",
6
6
  "author": "Blackboard Technologies Inc.",
package/src/cli/index.ts CHANGED
@@ -52,6 +52,8 @@ function createTar(tarPath: string, cwd: string, entries: string[]) {
52
52
  {
53
53
  cwd,
54
54
  stdio: "pipe",
55
+ // Prevent macOS tar from including Apple Double (._*) files. No-op on other platforms.
56
+ env: { ...process.env, COPYFILE_DISABLE: "1" },
55
57
  },
56
58
  );
57
59
  }
@@ -1282,7 +1284,7 @@ For more information, visit: ${config.app.homepage || 'https://electrobun.dev'}
1282
1284
  // The -C changes to the staging dir, then . archives its contents directly
1283
1285
  execSync(
1284
1286
  `tar -czf ${escapePathForTerminal(archivePath)} -C ${escapePathForTerminal(stagingDir)} .`,
1285
- { stdio: 'inherit' }
1287
+ { stdio: 'inherit', env: { ...process.env, COPYFILE_DISABLE: "1" } }
1286
1288
  );
1287
1289
 
1288
1290
  // Verify the archive was created