diff --git a/playwright/e2e/app-loading/feature-detection.spec.ts b/playwright/e2e/app-loading/feature-detection.spec.ts index caccef9085..0c78d9d01a 100644 --- a/playwright/e2e/app-loading/feature-detection.spec.ts +++ b/playwright/e2e/app-loading/feature-detection.spec.ts @@ -35,7 +35,7 @@ test(`shows error page if browser lacks WebAssembly support`, async ({ page }) = // Lack of WebAssembly support doesn't cause the bundle to fail loading, so we get // CompatibilityView, i.e. no iframes. - const header = page.getByText("Unsupported browser"); + const header = page.getByText("Element does not support this browser"); await expect(header).toBeVisible(); await expect(page).toMatchScreenshot("unsupported-browser-CompatibilityView.png"); diff --git a/playwright/snapshots/app-loading/feature-detection.spec.ts/unsupported-browser-CompatibilityView-linux.png b/playwright/snapshots/app-loading/feature-detection.spec.ts/unsupported-browser-CompatibilityView-linux.png index 5ff4143571..5b52d00d77 100644 Binary files a/playwright/snapshots/app-loading/feature-detection.spec.ts/unsupported-browser-CompatibilityView-linux.png and b/playwright/snapshots/app-loading/feature-detection.spec.ts/unsupported-browser-CompatibilityView-linux.png differ diff --git a/src/IConfigOptions.ts b/src/IConfigOptions.ts index 82fdfb25f2..69c8349965 100644 --- a/src/IConfigOptions.ts +++ b/src/IConfigOptions.ts @@ -75,6 +75,10 @@ export interface IConfigOptions { available: boolean; logo: string; // url url: string; // download url + url_macos?: string; + url_win64?: string; + url_win32?: string; + url_linux?: string; }; mobile_builds: { ios: string | null; // download url diff --git a/src/SdkConfig.ts b/src/SdkConfig.ts index a73a31a68e..92b31ae918 100644 --- a/src/SdkConfig.ts +++ b/src/SdkConfig.ts @@ -67,6 +67,10 @@ export const DEFAULTS: DeepReadonly = { available: true, logo: "vector-icons/1024.png", url: "https://element.io/download", + url_macos: "https://packages.element.io/desktop/install/macos/Element.dmg", + url_win64: "https://packages.element.io/desktop/install/win32/x64/Element%20Setup.exe", + url_win32: "https://packages.element.io/desktop/install/win32/ia32/Element%20Setup.exe", + url_linux: "https://element.io/download#linux", }, mobile_builds: { ios: "https://apps.apple.com/app/vector/id1083446067",