rename to mobe

This commit is contained in:
cutls 2019-01-28 01:54:20 +09:00
parent 6412139ae4
commit 697d942180
2 changed files with 9 additions and 4 deletions

View File

@ -6,17 +6,18 @@ script: node -v
before_deploy: before_deploy:
- cd app - cd app
- npm install electron -g - npm install electron -g
- npm install electron-packager -g
- npm install electron-builder -g - npm install electron-builder -g
- npm install - npm install
- npm install --global --production windows-build-tools@4.0.0 - npm install --global --production windows-build-tools@4.0.0
- npm install --save-dev electron-rebuild - npm install --save-dev electron-rebuild
- .\\node_modules\\.bin\\electron-rebuild.cmd - .\\node_modules\\.bin\\electron-rebuild.cmd
- electron-builder --win --ia32 - electron-builder --win --ia32
- rename "../build/TheDesk *.*.*.exe" TheDesk-ia32.exe - move "..\\build\\TheDesk *.*.*.exe" ..\\build\\TheDesk-ia32.exe
- rename "../build/TheDesk Setup *.*.*.exe" TheDesk-setup-ia32.exe - move "..\\build\\TheDesk Setup *.*.*.exe" ..\\build\\TheDesk-setup-ia32.exe
- electron-builder --win --x64 - electron-builder --win --x64
- rename "../build/TheDesk *.*.*.exe" TheDesk.exe - move "..\\build\\TheDesk *.*.*.exe" ..\\build\\TheDesk.exe
- rename "../build/TheDesk Setup *.*.*.exe" TheDesk-setup.exe - move "..\\build\\TheDesk Setup *.*.*.exe" ..\\build\\TheDesk-setup.exe
- electron-packager ./ TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --platform=linux --arch=x64,ia32 --electron-version=3.0.10 --overwrite - electron-packager ./ TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --platform=linux --arch=x64,ia32 --electron-version=3.0.10 --overwrite
- 7z a TheDesk-linux-x64.zip TheDesk-linux-x64 - 7z a TheDesk-linux-x64.zip TheDesk-linux-x64
- 7z a TheDesk-linux-ia32.zip TheDesk-linux-ia32 - 7z a TheDesk-linux-ia32.zip TheDesk-linux-ia32

View File

@ -57,6 +57,10 @@
"portable" "portable"
] ]
}, },
"nsis":{
"oneClick":false,
"allowToChangeInstallationDirectory":true
},
"linux": { "linux": {
"icon": "build/icons", "icon": "build/icons",
"target": [ "target": [