For Linux, macOS
This commit is contained in:
parent
a458f51b9a
commit
c8d2da0c07
|
@ -12,7 +12,7 @@ before_deploy:
|
||||||
- yarn global add electron-builder
|
- yarn global add electron-builder
|
||||||
- cd app
|
- cd app
|
||||||
- VERSION=$(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
|
- 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
|
- yarn construct
|
||||||
- if [ "$TRAVIS_OS_NAME" = "osx" ];then electron-builder --mac -p never;else :;fi
|
- 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
|
- if [ "$TRAVIS_OS_NAME" = "linux" ];then electron-builder --linux --x64 -p never;else :;fi
|
||||||
|
|
|
@ -97,7 +97,10 @@ npm run construct
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/cutls/TheDesk
|
git clone https://github.com/cutls/TheDesk
|
||||||
cd TheDesk/app
|
cd TheDesk/app
|
||||||
yarn install
|
# Linux or macOS
|
||||||
|
yarn install --no-lockfile
|
||||||
|
# Windows
|
||||||
|
yarn install --no-lockfile
|
||||||
yarn construct
|
yarn construct
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,10 @@ npm run construct
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/cutls/TheDesk
|
git clone https://github.com/cutls/TheDesk
|
||||||
cd TheDesk/app
|
cd TheDesk/app
|
||||||
yarn install
|
# Linux or macOS
|
||||||
|
yarn install --no-lockfile
|
||||||
|
# Windows
|
||||||
|
yarn install --no-lockfile
|
||||||
yarn construct
|
yarn construct
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user