electrobun 0.0.19-beta.82 → 0.0.19-beta.83

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.
@@ -482,9 +482,9 @@ start "" launcher.exe
482
482
  await Bun.spawn(["cmd", "/c", runBatPath], { detached: true });
483
483
  break;
484
484
  case 'linux':
485
- // On Linux, launch the launcher inside the app directory using nohup to detach
485
+ // On Linux, use 'at now' to detach the new process completely
486
486
  const linuxLauncher = join(runningAppBundlePath, "bin", "launcher");
487
- Bun.spawn(["nohup", linuxLauncher], { detached: true});
487
+ Bun.spawn(["sh", "-c", `echo '${linuxLauncher}' | at now`], { detached: true });
488
488
  break;
489
489
  }
490
490
  process.exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electrobun",
3
- "version": "0.0.19-beta.82",
3
+ "version": "0.0.19-beta.83",
4
4
  "description": "Build ultra fast, tiny, and cross-platform desktop apps with Typescript.",
5
5
  "license": "MIT",
6
6
  "author": "Blackboard Technologies Inc.",