Skip to content

Commit

Permalink
chore: test context.appOutDir for latest-mac rename
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Sep 27, 2024
1 parent 97c4344 commit cde5bbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions electron/scripts/afterPack.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ const afterPack = async (context) => {
console.log('afterPack: macOS detected');

if (context.arch === builderUtil.Arch.x64) {
renameLatestMacToArchSpecific(context.outDir, 'x64');
renameLatestMacToArchSpecific(context.appOutDir, 'x64');
}
if (context.arch === builderUtil.Arch.arm64) {
renameLatestMacToArchSpecific(context.outDir, 'arm64');
renameLatestMacToArchSpecific(context.appOutDir, 'arm64');
}
}
};
Expand Down

0 comments on commit cde5bbb

Please sign in to comment.