From 40caa478cd48aa99f6a38937eb28bd733635c481 Mon Sep 17 00:00:00 2001 From: Jerome Thayananthajothy Date: Sat, 17 Aug 2024 19:43:47 +0100 Subject: [PATCH] Update Forge configuration for extraResource in packagerConfig --- forge.config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/forge.config.ts b/forge.config.ts index 4dee753..cd0b11a 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -16,9 +16,9 @@ const config: ForgeConfig = { }, icon: process.platform === 'win32' ? 'src/assets/images/icon/icon.ico' : 'src/assets/images/icon/icon.icns', executableName: 'comet', - extraResource: process.platform === 'win32' || process.platform === 'linux' - ? path.resolve(__dirname, 'node_modules', 'ffmpeg-static', 'ffmpeg') - : undefined, + extraResource: process.platform === 'win32' + ? path.resolve(__dirname, 'node_modules', 'ffmpeg-static', 'ffmpeg.exe') + : path.resolve(__dirname, 'node_modules', 'ffmpeg-static', 'ffmpeg'), // Bypassing signing and notarization for now // ...(process.platform === 'darwin' && { // osxSign: {},