Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

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 94923e0 commit 504f518
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ const config: ForgeConfig = {
},
icon: process.platform === 'win32' ? 'src/assets/images/icon/icon.ico' : 'src/assets/images/icon/icon.icns',
executableName: 'comet',
extraResource: path.resolve(__dirname, 'node_modules', 'ffmpeg-static', 'ffmpeg'),
// Bypassing the sigining and notarisation for now
extraResource: process.platform === 'win32' || process.platform === 'linux'
? path.resolve(__dirname, 'node_modules', 'ffmpeg-static', 'ffmpeg')
: undefined,
// Bypassing signing and notarization for now
// ...(process.platform === 'darwin' && {
// osxSign: {},
// osxNotarize: {
Expand Down

0 comments on commit 504f518

Please sign in to comment.