MSakamaki / electron-dev-platform

electron my develop platfrom template
0 stars 0 forks source link

electron my develop platfrom template

Build Status Dependency Status

task

electon app config

install

# global module
npm -g install gulp jspm tsd karma electron-prebuilt

# install
npm install

# use command help
gulp help

develop

gulp serve

build

# compile
gulp build:compile

# platform build 
# - osx
gulp build:osx

# - windows 64bit
gulp build:win

# - windows 32bit
gulp build:win32

apple ID Application setting

rename the file sign.sample.json to sign.json

It specifies the Apple ID to APPLE_APPLICATION_ID

Required for Windows environment build (windows os Recommended)

(windows) create dummy code signing

# 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]

Non-windows platforms

[mac osx] Image2icon

icon maker

I want to use

document

documentation-translations

mozule management

JSPM