Skip to content

Commit

Permalink
feat(tooling): update electron-builder package tooling to support ARM…
Browse files Browse the repository at this point in the history
… architectures (#898)

Co-authored-by: theofficialgman <28281419+theofficialgman@users.noreply.github.com>
  • Loading branch information
shiftkey and theofficialgman committed Aug 14, 2024
1 parent 2deeba7 commit 11d61a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/electron-builder-linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
artifactName: 'GitHubDesktop-${os}-${version}.${ext}'
artifactName: 'GitHubDesktop-${os}-${arch}-${version}.${ext}'
linux:
category: 'GNOME;GTK;Development'
packageCategory: 'GNOME;GTK;Development'
Expand Down
3 changes: 2 additions & 1 deletion script/package-electron-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const globPromise = promisify(glob)
import { getDistPath, getDistRoot } from './dist-info'

function getArchitecture() {
switch (process.arch) {
const arch = process.env.npm_config_arch || process.arch
switch (arch) {
case 'arm64':
return '--arm64'
case 'arm':
Expand Down

0 comments on commit 11d61a4

Please sign in to comment.