Skip to content

Commit

Permalink
Merge commit '29d6a21907fe0d628d3fd542ce24d4a03deb1260' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgraph committed Jan 18, 2024
2 parents 427d052 + 29d6a21 commit 16eeed6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build/fuses.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const builder = require('electron-builder');

async function addElectronFuses(context)
{
console.log(JSON.stringify(context));

const { appOutDir, packager: { appInfo: { productFilename } }, electronPlatformName, arch } = context;

const ext = {
Expand All @@ -19,6 +21,13 @@ async function addElectronFuses(context)
: productFilename;

const electronBinaryPath = path.join(appOutDir, `${executableName}${ext}`);

// We build for x64 and arm64, but universal build for these two also but no fuses is needed at this temp stages
if (electronBinaryPath.includes('-temp/'))
{
return;
}

console.log('Flipping fuses for: ', electronBinaryPath);

await flipFuses(electronBinaryPath,
Expand Down

0 comments on commit 16eeed6

Please sign in to comment.