-
Xcode command line tools for mac
or
MSVC build tools & cmake for PC
-
nodejs & npm
-
cmake-js
-
yarn
-
install MSVC C++ build tools(2015/2017/2019)
-
install node.js for windows LTS.
-
install cmake-js globally
npm install cmake-js -g
-
open node terminal and install all node modules. (project folder)
cd C:\{PATH TO PROJECT}\ npm install
-
install CMake for windows
Set PATH to all users while installing.
-
run Cmake-js to compile node module for windows.
cmake-js rebuild
-
install yarn globally
npm install yarn -g
-
use yarn to download electron-builder
yarn add electron-builder --dev
9.(OPTIONAL) add code signing to /electron-builder.env
"CSC_LINK=" The HTTPS link (or base64-encoded data, or file:// link, or local path) to certificate (*.p12 or *.pfx file). Shorthand ~/ is supported (home directory).
"#CSC_KEY_PASSWORD=" The password to decrypt the certificate given in CSC_LINK. (if applies)
-
use yarn to build installer
yarn dist
- the included .node file under /build/release is for Windows
-
install Xcode CLI tools
xcode-select --install
-
install all node modules first
npm install
-
install cmake-js globally
npm install cmake-js -g
-
run cmake-js
cmake-js rebuild
-
copy the icon.icns file under /lib/img/ to /build/release this is the icon file
-
use yarn to download electron-builder
yarn add electron-builder --dev
-
use yarn to build installer
yarn dist
*tested on ubuntu 18.04
- Install udev library