add sharp requirements to asarUnpack

This commit is contained in:
Evan Simkowitz 2024-08-19 16:17:14 -07:00
parent 964c422a02
commit ca3f418dc5
No known key found for this signature in database

View File

@ -29,7 +29,11 @@ const config = {
directories: {
output: "make",
},
asarUnpack: ["dist/bin/**/*"],
asarUnpack: [
"dist/bin/**/*", // wavesrv and wsh binaries
"**/node_modules/sharp/**/*", // Requirement for sharp, a dependency of the fast-average-color-node package
"**/node_modules/@img/**/*", // Requirement sharp, a dependency of the fast-average-color-node package
],
mac: {
target: [
{