diff --git a/.travis.yml b/.travis.yml index d1519399..97ed21ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,14 +10,26 @@ before_deploy: - cd app - npm install electron-builder -g - npm install - - npm run build:win -after_success: -- cd build && mv "TheDesk *.*.* .exe" TheDesk.exe && cd ../ + - npm install --save-dev electron-rebuild + - ./node_modules/.bin/electron-rebuild + - electron-builder --win --x64 + - cd build && mv "TheDesk *.*.* .exe" TheDesk.exe && mv "TheDesk Setup *.*.* .exe" TheDesk-setup.exe && cd ../ + - electron-builder --win --ia32 + - cd build && mv "TheDesk *.*.* .exe" TheDesk-ia32.exe && mv "TheDesk Setup *.*.* .exe" TheDesk-setup-ia32.exe && cd ../ + - electron-builder --linux --x64 + - zip -j "build/linux-unpacked" "TheDesk-linux-x64.zip" 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" + file: + - "./build/TheDesk.exe" + - "./build/TheDesk-setup.exe" + - "./build/TheDesk-ia32.exe" + - "./build/TheDesk-setup-ia32.exe" + - "./build/TheDesk.snap" + - "./build/TheDesk-setup-ia32.exe" + - "TheDesk-linux-x64.zip" on: repo: cutls/TheDesk skip_cleanup: true \ No newline at end of file diff --git a/README.md b/README.md index 9940fbbc..4140515d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # TheDesk +[![Build Status](https://travis-ci.org/cutls/TheDesk.svg?branch=master)](https://travis-ci.org/cutls/TheDesk) Mastodon/Misskey client for PC(Windows/Linux/macOS) オープンソースSNSマストドン/MisskeyのWindows/Linuxクライアント Download:[TheDesk](https://thedesk.top) diff --git a/app/package.json b/app/package.json index a8f78f29..8f60cc45 100644 --- a/app/package.json +++ b/app/package.json @@ -6,8 +6,8 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dist": "build --linux snap", - "build:all": "electron-builder --platform win,linux", - "build:win": "electron-builder --platform win --arch -x64" + "build:all": "electron-builder --win --linux", + "build:win": "electron-builder --win" }, "keywords": [], "bugs": {