Open flaki opened 8 years ago
From 1eaf9e029914c0e355ce9e1fc09c573c8fbf7063 - 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
.
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.
Update:
electron-builder
could be used for creating pre-packaged OS binaries:Hosting OS-specific version of the Flasher for easy access: