feat(desktop-client): add afterPack hook to clean up unnecessary localization files and include certificate files for code signing
This commit is contained in:
@@ -8,6 +8,7 @@ compression: maximum
|
||||
removePackageScripts: true
|
||||
removePackageKeywords: true
|
||||
asar: true
|
||||
afterPack: build/afterPack.cjs # 签名前裁掉非 en/zh_CN 的本地化文件
|
||||
asarUnpack:
|
||||
- "**/node_modules/better-sqlite3/build/Release/**"
|
||||
- "**/node_modules/better-sqlite3/lib/**"
|
||||
|
||||
Reference in New Issue
Block a user