From e4afc408876c7d683764a7ad4b7463681c8eb6fb Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 6 Aug 2021 22:47:37 +0100 Subject: [PATCH] Revert to generic update path for universal builds --- src/updater.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/updater.ts b/src/updater.ts index 86d0714..f41e0cf 100644 --- a/src/updater.ts +++ b/src/updater.ts @@ -52,7 +52,7 @@ export function start(updateBaseUrl: string): void { // rely on NSURLConnection setting the User-Agent to what we expect, // and also acts as a convenient cache-buster to ensure that when the // app updates it always gets a fresh value to avoid update-looping. - url = `${updateBaseUrl}macos/${process.arch}/?localVersion=${encodeURIComponent(app.getVersion())}`; + url = `${updateBaseUrl}macos/?localVersion=${encodeURIComponent(app.getVersion())}`; } else if (process.platform === 'win32') { url = `${updateBaseUrl}win32/${process.arch}/`; } else {