clouduboy icon indicating copy to clipboard operation
clouduboy copied to clipboard

Host pre-compiled Flasher for Windows/OSX/Linux

Open flaki opened this issue 10 years ago • 1 comments

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.

  • [x] Find out how to create OS-binaries

Update: electron-builder could be used for creating pre-packaged OS binaries:

  • [x] 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 avatar Feb 16 '16 09:02 flaki

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.

flaki avatar Feb 28 '16 18:02 flaki