From 9e4815fe10d2e4f32a856a6d9c0084c21ef84615 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Thu, 8 Aug 2024 17:16:47 +1200 Subject: [PATCH] linux seems to want lowercase path for resources --- package.json | 40 +++++++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 8c1844a..2232f15 100644 --- a/package.json +++ b/package.json @@ -27,15 +27,6 @@ "directories": { "buildResources": "electron/build" }, - "extraFiles": [ - { - "from": "build/exe", - "to": "Resources/app/electron/build/exe", - "filter": [ - "**/*" - ] - } - ], "mac": { "target": "dmg", "identity": null, @@ -43,7 +34,16 @@ "extendInfo": { "NSMicrophoneUsageDescription": "Microphone access is only needed for Audio Calls", "com.apple.security.device.audio-input": true - } + }, + "extraFiles": [ + { + "from": "build/exe", + "to": "Resources/app/electron/build/exe", + "filter": [ + "**/*" + ] + } + ] }, "win": { "artifactName": "ReticulumMeshChat-v${version}-${os}.${ext}", @@ -54,11 +54,29 @@ { "target": "nsis" } + ], + "extraFiles": [ + { + "from": "build/exe", + "to": "Resources/app/electron/build/exe", + "filter": [ + "**/*" + ] + } ] }, "linux": { "artifactName": "ReticulumMeshChat-v${version}-${os}.${ext}", - "target": "AppImage" + "target": "AppImage", + "extraFiles": [ + { + "from": "build/exe", + "to": "resources/app/electron/build/exe", + "filter": [ + "**/*" + ] + } + ] }, "dmg": { "writeUpdateInfo": false