Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jan 8, 2025
1 parent 8065302 commit 285553a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/build_electron.mts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ let platformInfo: { platform: string; arch: electronBuilder.Arch }

console.log(`Building for platform: ${platform}`)

if (platform === 'mac-x64') {
if (platform === 'mac-x64' || platform === 'darwin-x64') {
platformInfo = { platform: 'mac', arch: electronBuilder.Arch.x64 }
// nodePreGypArgs = ['--target_platform=darwin', '--target_arch=x64', '--target_libc=unknown']
} else if (platform === 'mac-arm64') {
} else if (platform === 'mac-arm64' || platform === 'darwin-arm64') {
platformInfo = { platform: 'mac', arch: electronBuilder.Arch.arm64 }
// nodePreGypArgs = ['--target_platform=darwin', '--target_arch=arm64', '--target_libc=unknown']
} else if (platform === 'win-x64') {
} else if (platform === 'win-x64' || platform === 'win32-x64') {
platformInfo = { platform: 'win', arch: electronBuilder.Arch.x64 }
// nodePreGypArgs = ['--target_platform=win32', '--target_arch=x64', '--target_libc=unknown']
} else if (platform === 'linux-x64') {
Expand Down Expand Up @@ -51,7 +51,7 @@ const options: electronBuilder.Configuration = {
publish: null,
productName: 'Companion Satellite',
appId: 'remote.companion.bitfocus.no',
afterSign: '../tools/notarize.cjs',
afterSign: 'tools/notarize.cjs',
npmRebuild: false,
directories: {
buildResources: 'assets/',
Expand Down

0 comments on commit 285553a

Please sign in to comment.