-
-
Notifications
You must be signed in to change notification settings - Fork 432
App build process
Tomasz Dziuda edited this page Jun 19, 2018
·
20 revisions
For app build you will need the following software installed:
- node.js (8.*)
- npm (>= 5.*)
- python (>= 2.5.0 && < 3.0.0)
- electron (in version used by Publii), electron-packager, node-gyp and gulp node.js modules installed globally
Only for Windows:
npm install --global --production windows-build-tools
Only for macOS:
- Install XCode
npm install
npm run dev
npm run build
Run the following command in the directory of these modules:
node-gyp rebuild --target=ELECTRON_VERSION --arch=x64 --dist-url=https://atom.io/download/atom-shell
ELECTRON_VERSION - replace with current version of the Electron used in the app.