Add Windows 64-bit arm link and remove 32-bit link on compatibility page (#29312)
* Add Windows 64-bit arm link and remove 32-bit link on compatibility page Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
committed by
GitHub
parent
8857c07acb
commit
e47d7aaaff
@@ -71,7 +71,7 @@ export interface IConfigOptions {
|
||||
url: string; // download url
|
||||
url_macos?: string;
|
||||
url_win64?: string;
|
||||
url_win32?: string;
|
||||
url_win64arm?: string;
|
||||
url_linux?: string;
|
||||
};
|
||||
mobile_builds: {
|
||||
|
||||
@@ -59,7 +59,7 @@ export const DEFAULTS: DeepReadonly<IConfigOptions> = {
|
||||
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_win64arm: "https://packages.element.io/desktop/install/win32/arm64/Element%20Setup.exe",
|
||||
url_linux: "https://element.io/download#linux",
|
||||
},
|
||||
mobile_builds: {
|
||||
|
||||
@@ -80,9 +80,9 @@ const MobileAppLinks: React.FC<{
|
||||
const DesktopAppLinks: React.FC<{
|
||||
macOsUrl?: string;
|
||||
win64Url?: string;
|
||||
win32Url?: string;
|
||||
win64ArmUrl?: string;
|
||||
linuxUrl?: string;
|
||||
}> = ({ macOsUrl, win64Url, win32Url, linuxUrl }) => {
|
||||
}> = ({ macOsUrl, win64Url, win64ArmUrl, linuxUrl }) => {
|
||||
return (
|
||||
<Flex gap="var(--cpd-space-4x)">
|
||||
{macOsUrl && (
|
||||
@@ -92,12 +92,12 @@ const DesktopAppLinks: React.FC<{
|
||||
)}
|
||||
{win64Url && (
|
||||
<Button as="a" href={win64Url} kind="secondary" Icon={MicrosoftIcon}>
|
||||
{_t("incompatible_browser|windows", { bits: "64" })}
|
||||
{_t("incompatible_browser|windows_64bit")}
|
||||
</Button>
|
||||
)}
|
||||
{win32Url && (
|
||||
<Button as="a" href={win32Url} kind="secondary" Icon={MicrosoftIcon}>
|
||||
{_t("incompatible_browser|windows", { bits: "32" })}
|
||||
{win64ArmUrl && (
|
||||
<Button as="a" href={win64ArmUrl} kind="secondary" Icon={MicrosoftIcon}>
|
||||
{_t("incompatible_browser|windows_arm_64bit")}
|
||||
</Button>
|
||||
)}
|
||||
{linuxUrl && (
|
||||
@@ -127,7 +127,7 @@ export const UnsupportedBrowserView: React.FC<{
|
||||
config.desktop_builds?.available &&
|
||||
(config.desktop_builds?.url_macos ||
|
||||
config.desktop_builds?.url_win64 ||
|
||||
config.desktop_builds?.url_win32 ||
|
||||
config.desktop_builds?.url_win64arm ||
|
||||
config.desktop_builds?.url_linux);
|
||||
const hasMobileBuilds = Boolean(
|
||||
config.mobile_builds?.ios || config.mobile_builds?.android || config.mobile_builds?.fdroid,
|
||||
@@ -157,7 +157,7 @@ export const UnsupportedBrowserView: React.FC<{
|
||||
<DesktopAppLinks
|
||||
macOsUrl={config.desktop_builds?.url_macos}
|
||||
win64Url={config.desktop_builds?.url_win64}
|
||||
win32Url={config.desktop_builds?.url_win32}
|
||||
win64ArmUrl={config.desktop_builds?.url_win64arm}
|
||||
linuxUrl={config.desktop_builds?.url_linux}
|
||||
/>
|
||||
</>
|
||||
|
||||
@@ -1286,7 +1286,8 @@
|
||||
"use_desktop_heading": "Use %(brand)s Desktop instead",
|
||||
"use_mobile_heading": "Use %(brand)s on mobile instead",
|
||||
"use_mobile_heading_after_desktop": "Or use our mobile app",
|
||||
"windows": "Windows (%(bits)s-bit)"
|
||||
"windows_64bit": "Windows (64-bit)",
|
||||
"windows_arm_64bit": "Windows (ARM 64-bit)"
|
||||
},
|
||||
"info_tooltip_title": "Information",
|
||||
"integration_manager": {
|
||||
|
||||
Reference in New Issue
Block a user