mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
update build and demo instructions (#63)
This commit is contained in:
parent
7477437c6d
commit
7371c4a8d3
@ -14,14 +14,13 @@ In order to achieve those goals Symphony is participating and working in close c
|
||||
|
||||
## Run demo:
|
||||
- npm install
|
||||
- npm run demo
|
||||
- npm run demo-win (for windows)
|
||||
- npm run demo-mac (for mac osx)
|
||||
|
||||
## Build Instructions:
|
||||
- npm install
|
||||
- to run locally: npm run dev
|
||||
- to build mac dmg: npm run dist-mac
|
||||
- to build win squirrel installer exe (64 bit): npm run dist-win
|
||||
- to build win squirrel installer exe (32 bit): npm run dist-win-x86
|
||||
- to build win msi, use 'advanced installer' .aip file in installer/ dir
|
||||
|
||||
## msi command line options:
|
||||
|
@ -6,8 +6,9 @@
|
||||
"author": "Symphony",
|
||||
"main": "js/main.js",
|
||||
"scripts": {
|
||||
"dev": "npm run browserify-preload && cross-env ELECTRON_DEV=true electron . --enable-sandbox",
|
||||
"demo": "npm run browserify-preload && cross-env ELECTRON_DEV=true electron . --url=file://$(pwd)/demo/index.html --enable-sandbox",
|
||||
"dev": "npm run browserify-preload && cross-env ELECTRON_DEV=true electron .",
|
||||
"demo-win": "npm run browserify-preload && cross-env ELECTRON_DEV=true electron . --url=file:///demo/index.html",
|
||||
"demo-mac": "npm run browserify-preload && cross-env ELECTRON_DEV=true electron . --url=file://$(pwd)/demo/index.html",
|
||||
"dist-mac": "npm run prebuild && build --mac",
|
||||
"dist-win": "npm run prebuild && build --win --x64",
|
||||
"dist-win-x86": "npm run prebuild && build --win --ia32",
|
||||
@ -69,7 +70,7 @@
|
||||
"babel-preset-es2015": "^6.24.0",
|
||||
"browserify": "^14.1.0",
|
||||
"cross-env": "^3.2.4",
|
||||
"electron": "1.6.6",
|
||||
"electron": "1.6.7",
|
||||
"electron-builder": "^13.9.0",
|
||||
"electron-builder-squirrel-windows": "^12.3.0",
|
||||
"electron-packager": "^8.5.2",
|
||||
|
Loading…
Reference in New Issue
Block a user