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 .git
andgit init
to nuke this repo's history- Update
name
inpackage.json
andbower.json
, and otherwise tweak as desired npm install
bower install
- Replace "Electron Dojo Boilerplate" in
Gruntfile.js
andsrc/browser/main.js
- Update or replace
LICENSE
as desired - Optionally replace
icon.ico
andicon.icns
with your own icon, or delete them and removeicon
from theelectron-packager
task configuration inGruntfile.js
grunt dev
bin/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