2019-01-27 23:32:35 +11:00
|
|
|
sudo: true
|
2019-01-27 23:09:30 +11:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2019-01-27 23:17:40 +11:00
|
|
|
- '9.9.0'
|
2019-01-27 23:22:58 +11:00
|
|
|
script: node -v
|
2019-01-27 23:17:40 +11:00
|
|
|
before_deploy:
|
|
|
|
- sudo add-apt-repository ppa:ubuntu-wine/ppa -y
|
|
|
|
- sudo apt-get update -q
|
|
|
|
- sudo apt-get install -y wine1.7
|
|
|
|
- cd app
|
2019-01-27 23:32:35 +11:00
|
|
|
- npm install electron-builder -g
|
|
|
|
- npm install
|
2019-01-27 23:17:40 +11:00
|
|
|
- npm run build:win
|
2019-01-27 23:07:11 +11:00
|
|
|
after_success:
|
2019-01-27 23:17:40 +11:00
|
|
|
- cd build && mv "TheDesk *.*.* .exe" TheDesk.exe && cd ../
|
2019-01-27 23:07:11 +11:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
|
|
|
secure: jndR02p5KRTtcJk18b3YsXL2cC+yzEf1AOqXdpWciF8f3lO5oY01jlxd17xdHIcK7VywSsLVZpLToSdqAoIEhJ5OxEQ/FmA3FlmbwwD6ou13gLa4VGIvsBHveCmKGjVu0Z++atIy76tZYU1SOWFWv4B0ZhnVz2ca2VZynvLgw3YNsPJH7rHO966GXgRkGYJAJ4UvLg3sj/iztVh2FSfbUj5IGO1e/JHJO63wAo1MSQtRjkutVgl/djnBLC6vbL4YHkM3Ynpkx/YQEcxwrmeY0Ra8D5yYDq4MNIDMmZahWC+k4u2eA2Cj2ifBFNxbZvTN75vLwRBp6DsTNHsiqkXrSPDBdNeet31RbwTQ6LtsK8jqmL4S/59dmLcj7uCU2WxyBLPbJdbdZWlqW2ZQvfQY8QVAYy7S3MiHQWQN0oP5wqXk89jcgR42ig/zsqFNPpXHM4mExR7l/gDLPg0j9c3XEF6sWtk3FmJN1i4+B+9kn09b6UKlV7EFPKp8XcFNrz4ZcE9/I8lKwsqLVG2jAXIk7Z9LwDRcAmK5eG348X5zwFtOY6raKIvRw2cn92bPnEI+55v8A4WANS2647GFTgxHj30D0d/sOZmJ5BS34zpdWTgE0AlKg7sOqkncjqoW5J5zCh5Ow7b3KXvEvlAts44mAag8tZTectxMP4iguXvTnv4=
|
|
|
|
file: "./build/TheDesk.exe"
|
|
|
|
on:
|
|
|
|
repo: cutls/TheDesk
|
2019-01-27 23:17:40 +11:00
|
|
|
skip_cleanup: true
|