Skip to content

Commit

Permalink
build: Fix duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Oct 25, 2024
1 parent e3e6f56 commit 88cd2ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions forge.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ module.exports = {
if (platform === 'darwin') {
sourcePath = path.join(buildPath, `${APP_NAME}.app`, 'Contents', 'Resources', baseName);
} else {
sourcePath = path.join(buildPath, 'resources', path.basename(resource));
sourcePath = path.join(buildPath, 'resources', baseName);
}
let destPath;

if (baseName !== "256x256.png") {
destPath = path.join(buildPath, path.basename(resource));
destPath = path.join(buildPath, baseName);
} else {
destPath = path.join(buildPath, "icon.png");
}
Expand Down

0 comments on commit 88cd2ac

Please sign in to comment.