Skip to content

v1.0.4

Compare
Choose a tag to compare
@hschneider hschneider released this 13 Feb 21:05
· 36 commits to master since this release

All platforms: Create a Bun single-file executable

Bun allows to build single-file executables, containing all dependencies. The run-scripts in extensions/bun will automatically start binaries called main-app (macOS, Linux) or main.exe (Windows), when main.js is missing.

So for distributing a binary bundle, all you have to do is:

cd extensions/bun
bun build main.js --compile --outfile main-app

After this you can delete theses files and folders from the extensions/bun folder:

  • *.js
  • *.sh
  • _runtime