From a9a72edfe3d1123b15a03d8b7245e11e12264bfe Mon Sep 17 00:00:00 2001 From: Xander Frangos <33106561+xanderfrangos@users.noreply.github.com> Date: Sun, 21 Jul 2024 21:27:00 -0400 Subject: [PATCH] Unpack .node files from ASAR --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index 47f039ad..0b5b11a9 100644 --- a/package.json +++ b/package.json @@ -95,6 +95,12 @@ "node_modules\\wmi-client\\**\\*", "!node_modules\\wmi-client\\bin" ], + "asar": true, + "asarUnpack": [ + "node_modules\\wmi-client\\**\\*", + "node_modules\\sharp\\**\\*", + "**\\*.node" + ], "win": { "target": [ "nsis"