TheDesk Usamin (18.2.1)

This commit is contained in:
Cutls 2019-04-12 23:19:27 +09:00
parent 0db7ed4a33
commit 892872869b
3 changed files with 45 additions and 58 deletions

View File

@ -1,33 +1,38 @@
os: windows language: objective-c
language: node_js cache:
node_js: directories:
- '10.15.2' - node_modules
script: node -v env:
- NODE_VERSION="9.9.0"
before_install:
# nvm をインストールする。Travis の OS X 環境には nvm はデフォルトで入っていない
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
# 指定バージョンの Node をインストールする
- nvm install $NODE_VERSION
# 指定バージョンの Node を有効にする
- nvm use --delete-prefix $NODE_VERSION
- node --version
script:
- node --version
before_deploy: before_deploy:
- cd app - brew update
- npm install electron-builder -g - npm install electron-builder -g
- cd app
- npm install - npm install
- electron-builder --win --ia32 - electron-builder --mac --x64
- mv ../build/TheDesk-setup.exe ../TheDesk-setup-ia32.exe - mv ../build/TheDesk*.dmg ../TheDesk.dmg
- mv ../build/TheDesk*.exe ../TheDesk-ia32.exe - mv ../build/TheDesk*.zip ../TheDesk-darwin-x64.zip
- electron-builder --win --x64
- mv ../build/TheDesk-setup.exe ../TheDesk-setup.exe
- mv ../build/TheDesk*.exe ../TheDesk.exe
- cd ../ - cd ../
- ls
after_deploy: ls
deploy: deploy:
skip_cleanup: true
provider: releases provider: releases
# GitHub にリリースするための API KEY を暗号化した値
api_key: api_key:
secure: jndR02p5KRTtcJk18b3YsXL2cC+yzEf1AOqXdpWciF8f3lO5oY01jlxd17xdHIcK7VywSsLVZpLToSdqAoIEhJ5OxEQ/FmA3FlmbwwD6ou13gLa4VGIvsBHveCmKGjVu0Z++atIy76tZYU1SOWFWv4B0ZhnVz2ca2VZynvLgw3YNsPJH7rHO966GXgRkGYJAJ4UvLg3sj/iztVh2FSfbUj5IGO1e/JHJO63wAo1MSQtRjkutVgl/djnBLC6vbL4YHkM3Ynpkx/YQEcxwrmeY0Ra8D5yYDq4MNIDMmZahWC+k4u2eA2Cj2ifBFNxbZvTN75vLwRBp6DsTNHsiqkXrSPDBdNeet31RbwTQ6LtsK8jqmL4S/59dmLcj7uCU2WxyBLPbJdbdZWlqW2ZQvfQY8QVAYy7S3MiHQWQN0oP5wqXk89jcgR42ig/zsqFNPpXHM4mExR7l/gDLPg0j9c3XEF6sWtk3FmJN1i4+B+9kn09b6UKlV7EFPKp8XcFNrz4ZcE9/I8lKwsqLVG2jAXIk7Z9LwDRcAmK5eG348X5zwFtOY6raKIvRw2cn92bPnEI+55v8A4WANS2647GFTgxHj30D0d/sOZmJ5BS34zpdWTgE0AlKg7sOqkncjqoW5J5zCh5Ow7b3KXvEvlAts44mAag8tZTectxMP4iguXvTnv4= secure: jndR02p5KRTtcJk18b3YsXL2cC+yzEf1AOqXdpWciF8f3lO5oY01jlxd17xdHIcK7VywSsLVZpLToSdqAoIEhJ5OxEQ/FmA3FlmbwwD6ou13gLa4VGIvsBHveCmKGjVu0Z++atIy76tZYU1SOWFWv4B0ZhnVz2ca2VZynvLgw3YNsPJH7rHO966GXgRkGYJAJ4UvLg3sj/iztVh2FSfbUj5IGO1e/JHJO63wAo1MSQtRjkutVgl/djnBLC6vbL4YHkM3Ynpkx/YQEcxwrmeY0Ra8D5yYDq4MNIDMmZahWC+k4u2eA2Cj2ifBFNxbZvTN75vLwRBp6DsTNHsiqkXrSPDBdNeet31RbwTQ6LtsK8jqmL4S/59dmLcj7uCU2WxyBLPbJdbdZWlqW2ZQvfQY8QVAYy7S3MiHQWQN0oP5wqXk89jcgR42ig/zsqFNPpXHM4mExR7l/gDLPg0j9c3XEF6sWtk3FmJN1i4+B+9kn09b6UKlV7EFPKp8XcFNrz4ZcE9/I8lKwsqLVG2jAXIk7Z9LwDRcAmK5eG348X5zwFtOY6raKIvRw2cn92bPnEI+55v8A4WANS2647GFTgxHj30D0d/sOZmJ5BS34zpdWTgE0AlKg7sOqkncjqoW5J5zCh5Ow7b3KXvEvlAts44mAag8tZTectxMP4iguXvTnv4=
file: # Releases ページにアップロードするファイル
- TheDesk.exe file:
- TheDesk-setup.exe - TheDesk.dmg
- TheDesk-ia32.exe - TheDesk-darwin-x64.dmg
- TheDesk-setup-ia32.exe skip_cleanup: true
on: on:
repo: cutls/TheDesk repo: cutls/TheDesk
branches:
only:
- master

View File

@ -88,7 +88,7 @@
"category": "Network" "category": "Network"
}, },
"mac": { "mac": {
"target": "dmg" "target": ["dmg","zip"]
}, },
"electronDownload": { "electronDownload": {
"version": "4.0.6" "version": "4.0.6"

View File

@ -1,27 +1,11 @@
language: objective-c os: windows
cache: language: node_js
directories: node_js:
- node_modules - '10.15.2'
env: script: node -v
- NODE_VERSION="9.9.0"
before_install:
# nvm をインストールする。Travis の OS X 環境には nvm はデフォルトで入っていない
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
# 指定バージョンの Node をインストールする
- nvm install $NODE_VERSION
# 指定バージョンの Node を有効にする
- nvm use --delete-prefix $NODE_VERSION
- node --version
script:
- node --version
before_deploy: before_deploy:
- brew update
- brew install wine
- wine --version
- brew install makensis
- npm install electron-builder -g
- cd app - cd app
- npm install electron-builder -g
- npm install - npm install
- electron-builder --win --ia32 - electron-builder --win --ia32
- mv ../build/TheDesk-setup.exe ../TheDesk-setup-ia32.exe - mv ../build/TheDesk-setup.exe ../TheDesk-setup-ia32.exe
@ -29,24 +13,22 @@ before_deploy:
- electron-builder --win --x64 - electron-builder --win --x64
- mv ../build/TheDesk-setup.exe ../TheDesk-setup.exe - mv ../build/TheDesk-setup.exe ../TheDesk-setup.exe
- mv ../build/TheDesk*.exe ../TheDesk.exe - mv ../build/TheDesk*.exe ../TheDesk.exe
- electron-builder --linux --x64
- mv ../build/thedesk*.snap ../TheDesk.snap
- electron-builder --mac --x64
- mv ../build/TheDesk*.dmg ../TheDesk.dmg
- cd ../ - cd ../
- ls
after_deploy: ls
deploy: deploy:
skip_cleanup: true
provider: releases provider: releases
# GitHub にリリースするための API KEY を暗号化した値
api_key: api_key:
secure: jndR02p5KRTtcJk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ZQvfQY8QVAYy7S3MiHQWQN0oP5wqXk89jcgR42ig/zsqFNPpXHM4mExR7l/gDLPg0j9c3XEF6sWtk3FmJN1i4+B+9kn09b6UKlV7EFPKp8XcFNrz4ZcE9/I8lKwsqLVG2jAXIk7Z9LwDRcAmK5eG348X5zwFtOY6raKIvRw2cn92bPnEI+55v8A4WANS2647GFTgxHj30D0d/sOZmJ5BS34zpdWTgE0AlKg7sOqkncjqoW5J5zCh5Ow7b3KXvEvlAts44mAag8tZTectxMP4iguXvTnv4=
# Releases ページにアップロードするファイル file:
file:
- TheDesk.exe - TheDesk.exe
- TheDesk-setup.exe - TheDesk-setup.exe
- TheDesk-ia32.exe - TheDesk-ia32.exe
- TheDesk-setup-ia32.exe - TheDesk-setup-ia32.exe
- TheDesk.snap
- TheDesk.dmg
skip_cleanup: true
on: on:
repo: cutls/TheDesk repo: cutls/TheDesk
branches:
only:
- master