File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
49
49
- Prefix of internal folder paths from ` @ ` to ` @ ` to avoid confusions with
50
50
scoped NPM packages.
51
51
- Indentation for ` .ts ` files is now set as ` 2 ` spaces instead of ` 4 ` .
52
+ - ` electron-builder ` settings:
53
+ - ` win ` :
54
+ - Enabled ` asar ` . _ (turn it off if the executable built doesn't work)_
55
+ - Disabled one click installer.
56
+ - Allowed custom installation directory in the installer built.
57
+ - ` mac ` :
58
+ - Changed build target back to ` dmg ` .
52
59
53
60
### Fixed
54
61
- ESLint errors/warnings on ` main.ts ` & ` renderer.tsx ` .
62
+ - ` electron-builder ` fails to build ` dmg ` on ` macOS ` (issue
63
+ [ electron-builder #3990 ] )by upgrading the package version to ` > 21.2.0 ` .
55
64
56
65
### Removed
57
66
- NPM package ` copy-pkg-json-webpack-plugin ` as it doesn't work with Webpack 5
@@ -147,3 +156,4 @@ issue.
147
156
[ 2.0.2 ] : https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/compare/v2.0.1...v2.0.2
148
157
149
158
[ Issue #2 ] : https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/issues/2
159
+ [ electron-builder #3990 ] : https://github.com/electron-userland/electron-builder/issues/3990
Original file line number Diff line number Diff line change 19
19
"output" : " ./out/"
20
20
},
21
21
"mac" : {
22
- "target" : " pkg "
22
+ "target" : " dmg "
23
23
},
24
24
"win" : {
25
25
"target" : " nsis" ,
26
- "asar" : false
26
+ "asar" : true
27
+ },
28
+ "nsis" : {
29
+ "oneClick" : false ,
30
+ "allowToChangeInstallationDirectory" : true
27
31
},
28
32
"buildVersion" : " 1.0.0"
29
33
},
You can’t perform that action at this time.
0 commit comments