pray for last commit

This commit is contained in:
cutls 2019-01-28 02:57:13 +09:00
parent d344a7fc47
commit 314ec5ab4d

View File

@ -4,7 +4,10 @@ node_js:
- '9.9.0' - '9.9.0'
script: node -v script: node -v
before_deploy: before_deploy:
- cd app - mkdir build
- cd build
- mkdir output
- cd../app
- npm install electron -g - npm install electron -g
- npm install electron-packager -g - npm install electron-packager -g
- npm install electron-builder -g - npm install electron-builder -g
@ -13,10 +16,10 @@ before_deploy:
- 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
- mv ../build/TheDesk-setup*.exe ../build/output/TheDesk-setup-ia32.exe - mv ../build/TheDesk-setup.exe ../build/output/TheDesk-setup-ia32.exe
- mv ../build/TheDesk*.exe ../build/output/TheDesk-ia32.exe - mv ../build/TheDesk*.exe ../build/output/TheDesk-ia32.exe
- electron-builder --win --x64 - electron-builder --win --x64
- mv ../build/TheDesk-setup*.exe ../build/output/TheDesk-setup.exe - mv ../build/TheDesk-setup.exe ../build/output/TheDesk-setup.exe
- mv ../build/TheDesk*.exe ../build/output/TheDesk.exe - mv ../build/TheDesk*.exe ../build/output/TheDesk.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