add android download options for browsers other than chrome

This commit is contained in:
stefan.tollkuehn committed 2026-10-07 17:22:49 +02:00
1 parent 226edd8c48
commit b424abe8e4
3 files changed
+47 -1

No files matched your search

+12 -1
View File
@@ -33,7 +33,8 @@ const CONFIG = {
windows: "https://github.com/jitsi/jitsi-meet-electron/releases/latest/download/jitsi-meet.exe",
macos: "https://github.com/jitsi/jitsi-meet-electron/releases/latest/download/jitsi-meet.dmg",
linux: "https://github.com/jitsi/jitsi-meet-electron/releases",
ios: "https://apps.apple.com/app/jitsi-meet/id1165103905"
ios: "https://apps.apple.com/app/jitsi-meet/id1165103905",
android: "https://play.google.com/store/apps/details?id=org.jitsi.meet"
}
};
@@ -339,11 +340,13 @@ const windowsDownload = document.getElementById("windowsDownload");
const macosDownload = document.getElementById("macosDownload");
const linuxDownload = document.getElementById("linuxDownload");
const iosDownload = document.getElementById("iosDownload");
const androidDownload = document.getElementById("androidDownload");
const otherDownload = document.getElementById("otherDownload");
const windowsLink = document.getElementById("windowsLink");
const macosLink = document.getElementById("macosLink");
const linuxLink = document.getElementById("linuxLink");
const iosLink = document.getElementById("iosLink");
const androidLink = document.getElementById("androidLink");
const createNewMeetingButton = document.getElementById("createNewMeetingButton");
const createNewFromLauncherButton = document.getElementById("createNewFromLauncherButton");
@@ -631,6 +634,7 @@ function configureDownloads() {
macosDownload.classList.add("hidden");
linuxDownload.classList.add("hidden");
iosDownload.classList.add("hidden");
androidDownload.classList.add("hidden");
otherDownload.classList.add("hidden");
/* Windows */
@@ -661,6 +665,13 @@ function configureDownloads() {
return;
}
/* Android */
if (os === "android") {
androidLink.href = CONFIG.downloads.android;
androidDownload.classList.remove("hidden");
return;
}
/* Alles andere */
otherDownload.classList.remove("hidden");
}