From 508d5927ad261beafda18d165d123701825d7500 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Mon, 26 Aug 2024 17:17:54 -0400 Subject: [PATCH] Fix build rules for windows --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 1547167157bb..94a54aa22de4 100644 --- a/package.json +++ b/package.json @@ -411,6 +411,9 @@ ] } ], + "files": [ + "!node_modules/@indutny/simple-windows-notifications/build/Release/*.node" + ], "bundleVersion": "1" }, "win": { @@ -441,9 +444,6 @@ "target": [ "nsis" ], - "files": [ - "node_modules/@indutny/simple-windows-notifications/build/Release/*.node" - ], "asarUnpack": [ "build/icons/win/icon.ico" ] @@ -461,6 +461,9 @@ "deb" ], "icon": "build/icons/png", + "files": [ + "!node_modules/@indutny/simple-windows-notifications/build/Release/*.node" + ], "publish": [] }, "deb": { @@ -579,6 +582,7 @@ "!node_modules/@signalapp/ringrtc/scripts/*", "node_modules/@signalapp/ringrtc/build/${platform}/*${arch}*.node", "node_modules/mac-screen-capture-permissions/build/Release/*.node", + "node_modules/@indutny/simple-windows-notifications/build/Release/*.node", "node_modules/fs-xattr/build/Release/*.node", "!node_modules/@indutny/simple-windows-notifications/*.cpp", "!**/node_modules/react-dom/*/*.development.js",