Skip to content

Commit

Permalink
Merge pull request #141 from savetheclocktower/fix-arm64
Browse files Browse the repository at this point in the history
Remove hard-coded architecture on Mac
  • Loading branch information
DeeDeeG authored Sep 9, 2024
2 parents 7a0c3fa + 7260a92 commit 97f4d20
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/apm.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,7 @@ module.exports = {
},

getElectronArch() {
switch (process.platform) {
case 'darwin':
return 'x64';
default:
return process.env.ATOM_ARCH ?? process.arch;
}
return process.env.ATOM_ARCH ?? process.arch;
},

getUserConfigPath() {
Expand Down

0 comments on commit 97f4d20

Please sign in to comment.