File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,19 @@ To try with an actual electron app, run:
20
20
$ npm start &
21
21
$ cd example
22
22
$ npm install
23
+ ```
24
+
25
+ On Darwin:
26
+
27
+ ``` bash
23
28
$ npm run build
24
29
$ ./dist/mac/hyper.app/Contents/MacOS/hyper
25
- ```
30
+ ```
31
+
32
+ On Windows:
33
+
34
+ ``` bash
35
+ $ npm install --save 7zip-bin-win app-builder-bin-win electron-builder-squirrel-windows
36
+ $ npm run build
37
+ $ " example\dist\squirrel-windows\hyper Setup 0.0.0.exe"
38
+ ```
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " hyper" ,
3
3
"version" : " 0.0.0" ,
4
+ "author" : " author" ,
5
+ "description" : " description" ,
4
6
"scripts" : {
5
7
"build" : " electron-builder"
6
8
},
7
9
"build" : {
8
- "appId" : " co.zeit.hyper"
10
+ "appId" : " co.zeit.hyper" ,
11
+ "win" : {
12
+ "target" : [" squirrel" ]
13
+ },
14
+ "squirrelWindows" : {
15
+ "iconUrl" : " http://example.com/"
16
+ }
9
17
},
10
18
"dependencies" : {},
11
19
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments