v1.0.4
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