Awesome
nanjizalOnElectron
Build steps on Mac
-
install latest Node, NPM and Haxe, setup haxelib.
https://nodejs.org/en/
https://haxe.org/download/file/3.4.2/haxe-3.4.2-osx-installer.pkg/
-
You might need to change permissions on Sierra for npm?
sudo chown -R $USER /usr/local
-
Install electron and electron-packager.
npm install electron -g
npm install electron-packager -g
-
Install haxelibs
haxelib git electron https://github.com/fponticelli/hxelectron.git
haxelib git htmlHelper https://github.com/nanjizal/htmlHelper.git
haxelib git hxnodejs https://github.com/haxefoundation/hxnodejs.git
haxelib git thx.core https://github.com/fponticelli/thx.core.git
-
Use hxElectron to build the electron externs that must be added to the src folder see buildElectronModule.hxml
-
compile and test project.
haxe compile.hxml
-
build project for mac
haxe compileApp.hxml