From 225786e07f3181156b5fcbf47caa5e1a08e0bffe Mon Sep 17 00:00:00 2001 From: Cutls Date: Sun, 26 May 2019 22:40:37 +0900 Subject: [PATCH] travis win --- .travis.yml | 6 +++--- app/build.js | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5f2c5ac7..c7b072d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ os: - - osx - - linux +# - osx +# - linux - windows language: node_js node_js: @@ -25,5 +25,5 @@ deploy: skip_cleanup: true on: repo: cutls/TheDesk - tags: false + tags: true all_branches: true \ No newline at end of file diff --git a/app/build.js b/app/build.js index 4b0ae291..d694c143 100644 --- a/app/build.js +++ b/app/build.js @@ -77,7 +77,9 @@ builder.build({ config: pref }) .then(() => { + console.log("Done on "+os) if (os == "win32") { + console.log("Windows") fs.renameSync('../build/TheDesk ' + version + '.exe', '../build/TheDesk-ia32.exe'); fs.renameSync('../build/TheDesk Setup ' + version + '.exe', '../build/TheDesk-setup-ia32.exe'); retry() @@ -87,6 +89,7 @@ builder.build({ // handle error }) function retry(){ + console.log("Windows x64") const targetsAlt = new Map(); const archToTypeAlt = new Map(); targetsAlt.set(Platform.WINDOWS, archToTypeAlt);