package.json
is "name"
package.json
is "version"
# global module
npm -g install gulp jspm tsd karma electron-prebuilt
# install
npm install
# use command help
gulp help
gulp serve
# compile
gulp build:compile
# platform build
# - osx
gulp build:osx
# - windows 64bit
gulp build:win
# - windows 32bit
gulp build:win32
rename the file sign.sample.json
to sign.json
It specifies the Apple ID to APPLE_APPLICATION_ID
# preparation
mkdir -p demoCA/newcerts demoCA/private
touch touch demoCA/index.txt
echo 01 > demoCA/serial
# LOCAL
openssl genrsa -des3 -out seq.key 2048
sudo chmod 600 seq.key
openssl req -new -sha256 -days 10000 -key seq.key -out my.app
# CA
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ca.key -out ca.crt
openssl ca -in my.app -cert ca.crt -keyfile ca.key -out my.crt
# LOCAL (convert windows)
openssl pkcs12 -export -in my.crt -inkey seq.key -out my.pfx
# run windows (write gulp.ts/workers/build/config.ts sign_with_params)
/a /f my.pfx /p [seq.key password]
python setup.py install