The Community Edition of Ogmo Editor 3
This project requires Haxe v4.0.0 or later, Node v10+, and various dependencies for each of them.
haxelib setup haxelib install electron 4.1.4 haxelib install jQueryExtern haxelib install haxe-loader
npm i npm run build
This builds the App and puts it in the
bindirectory. You can then start the app by running
npm start, or by starting electron in the directory.
Speed up development by using Webpack's dev server! Running
npm run devbuilds the app, starts a server that will watch for changes in the project, then starts electron. If changes are found, Webpack will rebuild the source and refresh the app. If there are errors, they will show up in the app's DevTools.
While running the dev server, all code that is within
#if debugconditionals are added in.
NOTES: * Changes to
App.hxare not watched, and the app will need to manually be rebuilt if changes are made there. * The app will need to be rebuilt normally (
npm run build) in order to run it again after using the dev server.
npm i npm run build npm run dist
This builds, then packages the App into an executable.