From 314ec5ab4d764418c3c9ebcb45f8a6c8783f3206 Mon Sep 17 00:00:00 2001 From: cutls Date: Mon, 28 Jan 2019 02:57:13 +0900 Subject: [PATCH] pray for last commit --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2d504ee0..b52ea488 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,10 @@ node_js: - '9.9.0' script: node -v before_deploy: - - cd app + - mkdir build + - cd build + - mkdir output + - cd../app - npm install electron -g - npm install electron-packager -g - npm install electron-builder -g @@ -13,10 +16,10 @@ before_deploy: - npm install --save-dev electron-rebuild - .\\node_modules\\.bin\\electron-rebuild.cmd - 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 - 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 - 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