fix: pin electron-builder and adjust release files patterns

This commit is contained in:
2026-03-21 20:47:30 -07:00
parent 76b5ab68ba
commit a42fe599cb
4 changed files with 33 additions and 9 deletions

View File

@@ -111,7 +111,7 @@
"@types/node": "^25.3.0",
"@types/ws": "^8.18.1",
"electron": "^37.10.3",
"electron-builder": "^26.8.2",
"electron-builder": "26.8.2",
"esbuild": "^0.25.12",
"prettier": "^3.8.1",
"typescript": "^5.9.3"
@@ -165,12 +165,21 @@
"include": "build/installer.nsh"
},
"files": [
"dist/**/*",
"stats/dist/**/*",
"vendor/texthooker-ui/docs/**/*",
"vendor/texthooker-ui/package.json",
"package.json",
"scripts/get-mpv-window-macos.swift"
"**/*",
"!src{,/**/*}",
"!launcher{,/**/*}",
"!stats/src{,/**/*}",
"!stats/index.html",
"!docs-site{,/**/*}",
"!changes{,/**/*}",
"!backlog{,/**/*}",
"!.tmp{,/**/*}",
"!release-*{,/**/*}",
"!vendor/subminer-yomitan{,/**/*}",
"!vendor/texthooker-ui/src{,/**/*}",
"!vendor/texthooker-ui/node_modules{,/**/*}",
"!vendor/texthooker-ui/.svelte-kit{,/**/*}",
"!vendor/texthooker-ui/package-lock.json"
],
"extraResources": [
{