This is an Electron platform that integrates with HAX editor. It includes the unbundled-webcomponents repository.
Before running the application. You have to install the appropriate modules in different folders first.
- Run
npm installat the root folder of this repo (HAXdesktop) - Run
cd app/unbundled-webcomponents, the "unbundled-webcomponents" is the folder that has the build tools that will build the HAXeditor - Run
yarn install - Run
yarn run build, this will initialize the HAXeditor. The build for the HAXeditor is located in app/unbundled-webcomponents/app/dist
At this point, the necessary boilet plate assets should be initialized. You can go back to the HAXdesktop folder to start the app
- Run
cd ../../to get back to the root folder - Run
npm startto start the electron app
This Electron project uses electron-forge for packaging and distributions. Check out their documentation for more configuration options. All packaged distributions will be located in the out folder at the root directory
- Run
npm run packageat the root folder, a packaged application that's specific to your current platform will be in theoutfolder
- Run
npm run makeat the root folder, this will created different distributions of the application for different platforms in theout/makefolder. This is configurable, check out electron-forge for further details.