Commit f6c9321 1 parent e5717a2 commit f6c9321 Copy full SHA for f6c9321
File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,16 @@ You can use every web content though widget in wallpapers
11
11
```
12
12
// if you use yarn
13
13
14
- yarn build
14
+ yarn build:window // use window OS
15
+ yarn build:mac // use macOS
16
+ yarn build:linux // use linux
15
17
16
18
// else
17
- npm run build
19
+ npm run build:window // use window OS
20
+ npm run build:mac // use macOS
21
+ npm run build:linux // use linux
22
+
23
+ then open dist directory and install oh-my-desk.exe (or .dmg)
18
24
```
19
25
20
26
** when develop**
Original file line number Diff line number Diff line change 4
4
"description" : " desktop widget application" ,
5
5
"main" : " main.js" ,
6
6
"scripts" : {
7
- "build" : " yarn build:app && cross-env NODE_ENV=production electron-builder --win" ,
7
+ "build:window" : " yarn build:app && cross-env NODE_ENV=production electron-builder --win" ,
8
+ "build:mac" : " yarn build:app && cross-env NODE_ENV=production electron-builder --mac" ,
9
+ "build:linux" : " yarn build:app && cross-env NODE_ENV=production electron-builder --linux" ,
8
10
"build:app" : " cross-env NODE_ENV=production webpack --config webpack.prod.config.js" ,
9
11
"watch" : " watchify app/app.js -o build/bundle.js -t babelify -v" ,
10
12
"dev" : " NODE_ENV=development ./node_modules/.bin/electron ." ,
You can’t perform that action at this time.
0 commit comments