From e4afc408876c7d683764a7ad4b7463681c8eb6fb Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 6 Aug 2021 22:47:37 +0100 Subject: [PATCH 1/2] 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 86d0714e..f41e0cf9 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 { From d24ae7b4c1d521718a134decf3d186c34c501f5d Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 9 Aug 2021 14:55:26 +0100 Subject: [PATCH 2/2] Switch to new domain (finally) --- element.io/nightly/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/element.io/nightly/config.json b/element.io/nightly/config.json index 7b6b6435..b9f5d780 100644 --- a/element.io/nightly/config.json +++ b/element.io/nightly/config.json @@ -1,5 +1,5 @@ { - "update_base_url": "https://packages.riot.im/nightly/update/", + "update_base_url": "https://packages.element.io/nightly/update/", "default_server_name": "matrix.org", "brand": "Element Nightly", "integrations_ui_url": "https://scalar.vector.im/",