Skip to content

Commit

Permalink
Update Forge configuration for extraResource in packagerConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Thavarshan committed Aug 17, 2024
1 parent 504f518 commit 40caa47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {},
Expand Down

0 comments on commit 40caa47

Please sign in to comment.