Fix win32 arm translation check
This commit is contained in:
parent
92d22d0827
commit
ab3c18513a
1 changed files with 5 additions and 1 deletions
|
@ -808,7 +808,11 @@ export abstract class Updater {
|
|||
}
|
||||
|
||||
private async getArch(): Promise<typeof process.arch> {
|
||||
if (process.platform !== 'darwin' || process.arch === 'arm64') {
|
||||
if (process.arch === 'arm64') {
|
||||
return process.arch;
|
||||
}
|
||||
|
||||
if (process.platform !== 'darwin' && process.platform !== 'win32') {
|
||||
return process.arch;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue