This repository provides a starting/reference point for Electron-based applications using the Dojo toolkit and the Stylus CSS preprocessor.
- Clone this repository into a directory of your choice
rm -rf .gitandgit initto nuke this repo's history- Update
nameinpackage.jsonandbower.json, and otherwise tweak as desired npm installbower install- Replace "Electron Dojo Boilerplate" in
Gruntfile.jsandsrc/browser/main.js - Update or replace
LICENSEas desired - Optionally replace
icon.icoandicon.icnswith your own icon, or delete them and removeiconfrom theelectron-packagertask configuration inGruntfile.js
grunt devbin/run
grunt release
This will set up releases for OS X, Linux, and Windows under the dist directory. (Target platforms
can be customized via the arch and platform properties in the electron-packager task configuration.)
Note that cross-OS limitations may apply. In particular:
- Building for Windows targets with a custom icon requires wine on non-Windows OSes for rcedit
- Building for OS X is skipped on Windows due to dodgy symlink support