This commit is contained in:
cutls 2019-01-28 02:40:15 +09:00
parent 697d942180
commit 28f2e9302a
2 changed files with 12 additions and 12 deletions

View File

@ -2,7 +2,7 @@ os: windows
language: node_js language: node_js
node_js: node_js:
- '9.9.0' - '9.9.0'
script: node -v script: 7z a
before_deploy: before_deploy:
- cd app - cd app
- npm install electron -g - npm install electron -g
@ -13,11 +13,11 @@ 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
- move "..\\build\\TheDesk *.*.*.exe" ..\\build\\TheDesk-ia32.exe - mv ../build/TheDesk-setup*.exe ../build/output/TheDesk-setup-ia32.exe
- move "..\\build\\TheDesk Setup *.*.*.exe" ..\\build\\TheDesk-setup-ia32.exe - mv ../build/TheDesk*.exe ../build/output/TheDesk-ia32.exe
- electron-builder --win --x64 - electron-builder --win --x64
- move "..\\build\\TheDesk *.*.*.exe" ..\\build\\TheDesk.exe - mv ../build/TheDesk-setup*.exe ../build/output/TheDesk-setup.exe
- move "..\\build\\TheDesk Setup *.*.*.exe" ..\\build\\TheDesk-setup.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
- 7z a TheDesk-linux-ia32.zip TheDesk-linux-ia32 - 7z a TheDesk-linux-ia32.zip TheDesk-linux-ia32
@ -27,12 +27,11 @@ deploy:
api_key: api_key:
secure: jndR02p5K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ZWlqW2ZQvfQY8QVAYy7S3MiHQWQN0oP5wqXk89jcgR42ig/zsqFNPpXHM4mExR7l/gDLPg0j9c3XEF6sWtk3FmJN1i4+B+9kn09b6UKlV7EFPKp8XcFNrz4ZcE9/I8lKwsqLVG2jAXIk7Z9LwDRcAmK5eG348X5zwFtOY6raKIvRw2cn92bPnEI+55v8A4WANS2647GFTgxHj30D0d/sOZmJ5BS34zpdWTgE0AlKg7sOqkncjqoW5J5zCh5Ow7b3KXvEvlAts44mAag8tZTectxMP4iguXvTnv4=
file: file:
- "./build/TheDesk.exe" - "./build/output/TheDesk.exe"
- "./build/TheDesk-setup.exe" - "./build/output/TheDesk-setup.exe"
- "./build/TheDesk-ia32.exe" - "./build/output/TheDesk-ia32.exe"
- "./build/TheDesk-setup-ia32.exe" - "./build/output/TheDesk-setup-ia32.exe"
- "./build/TheDesk.snap" - "./build/output/TheDesk-setup-ia32.exe"
- "./build/TheDesk-setup-ia32.exe"
- "TheDesk-linux-x64.zip" - "TheDesk-linux-x64.zip"
on: on:
repo: cutls/TheDesk repo: cutls/TheDesk

View File

@ -59,7 +59,8 @@
}, },
"nsis":{ "nsis":{
"oneClick":false, "oneClick":false,
"allowToChangeInstallationDirectory":true "allowToChangeInstallationDirectory":true,
"artifactName":"TheDesk-setup.${ext}"
}, },
"linux": { "linux": {
"icon": "build/icons", "icon": "build/icons",