Manually asarUnpack sharp's binaries

This commit is contained in:
Fedor Indutny 2022-04-06 11:24:27 -07:00 committed by GitHub
parent d0ca8af729
commit 6ddf7b913a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -314,9 +314,6 @@
"build": { "build": {
"appId": "org.whispersystems.signal-desktop", "appId": "org.whispersystems.signal-desktop",
"mac": { "mac": {
"asarUnpack": [
"**/*.node"
],
"artifactName": "${name}-mac-${arch}-${version}.${ext}", "artifactName": "${name}-mac-${arch}-${version}.${ext}",
"category": "public.app-category.social-networking", "category": "public.app-category.social-networking",
"darkModeSupport": true, "darkModeSupport": true,
@ -351,11 +348,6 @@
"bundleVersion": "1" "bundleVersion": "1"
}, },
"win": { "win": {
"asarUnpack": [
"**/*.node",
"node_modules/spellchecker/vendor/hunspell_dictionaries",
"node_modules/sharp"
],
"artifactName": "${name}-win-${version}.${ext}", "artifactName": "${name}-win-${version}.${ext}",
"certificateSubjectName": "Signal Messenger, LLC", "certificateSubjectName": "Signal Messenger, LLC",
"certificateSha1": "8C9A0B5C852EC703D83EF7BFBCEB54B796073759", "certificateSha1": "8C9A0B5C852EC703D83EF7BFBCEB54B796073759",
@ -382,11 +374,6 @@
"desktop": { "desktop": {
"StartupWMClass": "Signal" "StartupWMClass": "Signal"
}, },
"asarUnpack": [
"**/*.node",
"node_modules/spellchecker/vendor/hunspell_dictionaries",
"node_modules/sharp"
],
"target": [ "target": [
"deb" "deb"
], ],
@ -412,8 +399,13 @@
"afterPack": "ts/scripts/after-pack.js", "afterPack": "ts/scripts/after-pack.js",
"afterSign": "ts/scripts/after-sign.js", "afterSign": "ts/scripts/after-sign.js",
"afterAllArtifactBuild": "ts/scripts/after-all-artifact-build.js", "afterAllArtifactBuild": "ts/scripts/after-all-artifact-build.js",
"asar": {
"smartUnpack": false
},
"asarUnpack": [ "asarUnpack": [
"node_modules/better-sqlite3/build/Release/better_sqlite3.node" "**/*.node",
"node_modules/sharp/{build,vendor}/**",
"!node_modules/sharp/**/*.{js,json}"
], ],
"files": [ "files": [
"package.json", "package.json",