From 697d9421804072376120bd4b202a440f4adeff12 Mon Sep 17 00:00:00 2001 From: cutls Date: Mon, 28 Jan 2019 01:54:20 +0900 Subject: [PATCH] rename to mobe --- .travis.yml | 9 +++++---- app/package.json | 4 ++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ee691fbf..06bf0432 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,17 +6,18 @@ script: node -v before_deploy: - cd app - npm install electron -g + - npm install electron-packager -g - npm install electron-builder -g - npm install - npm install --global --production windows-build-tools@4.0.0 - npm install --save-dev electron-rebuild - .\\node_modules\\.bin\\electron-rebuild.cmd - electron-builder --win --ia32 - - rename "../build/TheDesk *.*.*.exe" TheDesk-ia32.exe - - rename "../build/TheDesk Setup *.*.*.exe" TheDesk-setup-ia32.exe + - move "..\\build\\TheDesk *.*.*.exe" ..\\build\\TheDesk-ia32.exe + - move "..\\build\\TheDesk Setup *.*.*.exe" ..\\build\\TheDesk-setup-ia32.exe - electron-builder --win --x64 - - rename "../build/TheDesk *.*.*.exe" TheDesk.exe - - rename "../build/TheDesk Setup *.*.*.exe" TheDesk-setup.exe + - move "..\\build\\TheDesk *.*.*.exe" ..\\build\\TheDesk.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 - 7z a TheDesk-linux-x64.zip TheDesk-linux-x64 - 7z a TheDesk-linux-ia32.zip TheDesk-linux-ia32 diff --git a/app/package.json b/app/package.json index 35a64860..2e0ff7cc 100644 --- a/app/package.json +++ b/app/package.json @@ -57,6 +57,10 @@ "portable" ] }, + "nsis":{ + "oneClick":false, + "allowToChangeInstallationDirectory":true + }, "linux": { "icon": "build/icons", "target": [