Host pre-compiled Flasher for Windows/OSX/Linux
Opened this issue · 1 comments
flaki commented
Explore how to pre-compile and host Windows/OSX/Linux versions of the Flasher on the site, so people can just download it and run it without needing to deal with source-code or Electron.
- Find out how to create OS-binaries
Update:
electron-builder
could be used for creating pre-packaged OS binaries:
- Have pre-compiled Flasher for OSX
- Have pre-compiled Flasher for Windows
- Have pre-compiled Flasher for Linux
Hosting OS-specific version of the Flasher for easy access:
- Host the pre-compiled Flasher on the site, and make them easily accessible via the #8 Intro screen.
flaki commented
From 1eaf9e0 - pre-compiled Flasher dmg for OSX:
electron-packager app ClouduboyFlasher --platform=darwin --arch=x64 --version=0.36.9 --icon=build/Icon.icns --out=dist
cd dist/ClouduboyFlasher-*
cp ../../build/* .
appdmg -v dmg.json ../ClouduboyFlasher.dmg
cd ..
rm -rf ClouduboyFlasher-*
We need to plug this into a build script though, to automate the process.
The ClouduboyFlasher.dmg
is stored (and can be served to clients for download) from flasher/dist/ClouduboyFlasher.dmg
.