Site: the Android button offers the build without Stockfish first
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vrubelroman 2026-10-23 00:33:33 +03:00
parent 7002731346
commit d13147079e
3 changed files with 10 additions and 10 deletions

View file

@ -13,7 +13,7 @@
var ua = navigator.userAgent || "";
var platform = (navigator.userAgentData && navigator.userAgentData.platform) || navigator.platform || "";
var touchMac = /Mac/.test(platform) && navigator.maxTouchPoints > 1;
if (/Android/i.test(ua)) return { os: "android", slug: "android" };
if (/Android/i.test(ua)) return { os: "android", slug: "android-noengine" };
if (/iPhone|iPod|iPad/i.test(ua) || touchMac) return { os: "mobile" };
if (/CrOS/.test(ua)) return { os: "linux", slug: "deb", chromeos: true };
if (/Win/.test(platform) || /Windows/.test(ua)) return { os: "windows", slug: "windows" };
@ -26,7 +26,7 @@
return { os: "unknown" };
}
var sys = detect();
var FORMAT = { windows: ".zip", deb: ".deb", rpm: ".rpm", appimage: "AppImage", android: "APK" };
var FORMAT = { windows: ".zip", deb: ".deb", rpm: ".rpm", appimage: "AppImage", "android-noengine": "APK" };
function intelMac() {
try {
@ -66,7 +66,7 @@
if (asset) parts.push(asset.size);
parts.push(sys.os === "macos" ? t("apple_silicon") : FORMAT[sys.slug]);
if (sys.chromeos) parts.push(t("chromeos"));
if (sys.os === "android") parts.push(t("and_full_title"), t("and_alpha"));
if (sys.os === "android") parts.push(t("and_light_title"), t("and_alpha"));
l2.textContent = parts.join(" · ");
if (sys.os === "macos") {
var note = $("hero-note");