Pencil uses Atom Electron as the runtime, follow the these steps to setup the environment:
-
Clone this repository
-
Make sure you are using nodejs 5+
-
Install dependencies:
$ npm install
-
Start Pencil using the prebuilt version of Electron
$ npm start
- install electron-packager
npm install electron-packager --save-dev
if you want to use it globally
npm install electron-packager -g
-
pacakge at win32 platform, --overwrite overrite existed output
electron-packager ./app --platform=win32 --arch=x64 --overwrite --asar=true --icon=./build/icon.ico --prune=true
-
mac release package, need to run at Mac
electron-packager ./app --overwrite --platform=darwin --arch=x64 --icon=./build/icon.icns
Only OSX 64bit 10.9 and later are supported.
Windows 7 and later are supported, older operating systems are not supported (and do not work).
- Tested
- Ubuntu 12.04 and later
- Fedora 21+
- Debian 8+
- Packages
- Arch Linux - pencil on the Arch User Repository.