Skip to content

Commit

Permalink
add build script not limit user's OS
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunmoAhn committed Jan 15, 2018
1 parent f6c9321 commit 5dc0c7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ You can use every web content though widget in wallpapers
```
// if you use yarn
yarn build // No matter which OS you use
yarn build:window // use window OS
yarn build:mac // use macOS
yarn build:linux // use linux
// else
npm run build // No matter which OS you use
npm run build:window // use window OS
npm run build:mac // use macOS
npm run build:linux // use linux
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "desktop widget application",
"main": "main.js",
"scripts": {
"build": "yarn build:app && cross-env NODE_ENV=production electron-builder",
"build:window": "yarn build:app && cross-env NODE_ENV=production electron-builder --win",
"build:mac": "yarn build:app && cross-env NODE_ENV=production electron-builder --mac",
"build:linux": "yarn build:app && cross-env NODE_ENV=production electron-builder --linux",
Expand Down

0 comments on commit 5dc0c7b

Please sign in to comment.