For Linux, macOS

This commit is contained in:
Cutls 2019-09-18 23:11:39 +09:00
parent a458f51b9a
commit c8d2da0c07
3 changed files with 9 additions and 3 deletions

View File

@ -12,7 +12,7 @@ before_deploy:
- yarn global add electron-builder
- cd app
- VERSION=$(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
- yarn install
- yarn install --no-lockfile
- yarn construct
- if [ "$TRAVIS_OS_NAME" = "osx" ];then electron-builder --mac -p never;else :;fi
- if [ "$TRAVIS_OS_NAME" = "linux" ];then electron-builder --linux --x64 -p never;else :;fi

View File

@ -97,7 +97,10 @@ npm run construct
```sh
git clone https://github.com/cutls/TheDesk
cd TheDesk/app
yarn install
# Linux or macOS
yarn install --no-lockfile
# Windows
yarn install --no-lockfile
yarn construct
```

View File

@ -96,7 +96,10 @@ npm run construct
```sh
git clone https://github.com/cutls/TheDesk
cd TheDesk/app
yarn install
# Linux or macOS
yarn install --no-lockfile
# Windows
yarn install --no-lockfile
yarn construct
```