Skip to content

Commit e7f59c9

Browse files
committed
update built setup for electron
1 parent aa03b62 commit e7f59c9

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

template/package.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,29 @@
3939
<%_ if (type === 'electron') { -%>
4040
"build": {
4141
"appId": "com.egoistian.devdocs-app",
42-
"category": "public.app-category.developer-tools",
4342
"asar": true,
43+
"mac": {
44+
"category": "public.app-category.developer-tools"
45+
},
46+
"linux": {
47+
"category": "public.app-category.developer-tools"
48+
},
4449
"win": {
4550
"target": [
46-
"squirrel"
51+
"nsis"
4752
]
53+
},
54+
"nsis": {
55+
"oneClick": false
4856
}
4957
},
5058
<%_ } -%>
5159
"devDependencies": {
5260
<%_ if (type === 'electron') { -%>
5361
"electron": "^1.4.15",
54-
"electron-builder": "^13.7.0",
55-
"electron-devtools-installer": "^1.1.5",
62+
"electron-builder": "^15.0.0",
63+
"electron-builder-squirrel-windows": "^15.3.0",
64+
"electron-devtools-installer": "^2.0.0",
5665
<%_ } -%>
5766
<%_ if (type === 'component') { -%>
5867
"gh-pages": "^0.12.0",

0 commit comments

Comments
 (0)