Skip to content

Commit 6b85ae0

Browse files
authored
fix: prevent unwanted files getting into app.asar (#33)
app.asar included binaries that it should never contain, because the electron-builder output dir was shared with where the app code goes (dist); this change cuts down the installer and installed app size by about half (at least on Windows)
1 parent b9342eb commit 6b85ae0

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
node_modules
22
dist
3+
release
34
config.json
45

56
.pnp.*

‎package.json‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@
9494
"snap": {
9595
"publish": "github"
9696
},
97+
"directories": {
98+
"output": "release"
99+
},
97100
"files": [
98101
"dist/**/*",
99102
"static/**/*"

0 commit comments

Comments
 (0)