add build:nix script
This commit is contained in:
parent
79eee8153a
commit
fcf8853ee6
@ -10,8 +10,9 @@
|
|||||||
"clean:win": "rm -Rf ./dist/win",
|
"clean:win": "rm -Rf ./dist/win",
|
||||||
"build": "npm run clean && npm run build:osx && npm run build:win",
|
"build": "npm run clean && npm run build:osx && npm run build:win",
|
||||||
"build:icon": "./scripts/make-icns.sh assets/icon1024.png assets/osx/scuttlebot.icns",
|
"build:icon": "./scripts/make-icns.sh assets/icon1024.png assets/osx/scuttlebot.icns",
|
||||||
"build:osx": "electron-packager ./ \"Scuttlebot\" --out=dist/osx --platform=darwin --arch=x64 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/osx/scuttlebot.icns",
|
"build:osx": "electron-packager ./ Scuttlebot --out=dist/osx --platform=darwin --arch=x64 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/osx/scuttlebot.icns",
|
||||||
"build:win": "electron-packager ./ \"Scuttlebot\" --out=dist/win --platform=win32 --arch=ia32 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/win/scuttlebot.ico",
|
"build:win": "electron-packager ./ Scuttlebot --out=dist/win --platform=win32 --arch=ia32 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/win/scuttlebot.ico",
|
||||||
|
"build:nix": "electron-packager ./ scuttlebot --out=dist/linux --platform=linux --arch=x64 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/osx/scuttlebot.icns",
|
||||||
"pack": "npm run pack:osx && npm run pack:win",
|
"pack": "npm run pack:osx && npm run pack:win",
|
||||||
"pack:osx": "electron-builder \"dist/osx/Scuttlebot.app\" --platform=osx --out=\"dist/osx\" --config=packager.json",
|
"pack:osx": "electron-builder \"dist/osx/Scuttlebot.app\" --platform=osx --out=\"dist/osx\" --config=packager.json",
|
||||||
"pack:win": "electron-builder \"dist/win/Scuttlebot-win32\" --platform=win --out=\"dist/win\" --config=packager.json"
|
"pack:win": "electron-builder \"dist/win/Scuttlebot-win32\" --platform=win --out=\"dist/win\" --config=packager.json"
|
||||||
|
Loading…
Reference in New Issue
Block a user