From 2e5766872169bb0d261f1b8c5c01e1a8e55c5827 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Tue, 4 Nov 2025 22:13:30 -0700 Subject: [PATCH] Add android and ios to be listed (no arch specific stuff yet) --- src/routes/launcher/versions.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/routes/launcher/versions.ts b/src/routes/launcher/versions.ts index 8716779..4df0a3e 100644 --- a/src/routes/launcher/versions.ts +++ b/src/routes/launcher/versions.ts @@ -31,7 +31,9 @@ export async function handler(context: Context, db: MySql2Database) { else { return jsonResponse({ message: "Unsupported architecture for macOS", versions: null, games: null }, 400) } - } else { + } else if (platform == "android") platString = "android" + else if (platform == "ios") platString = "ios" + else { return jsonResponse({ message: "Unsupported platform", versions: null, games: null }, 400) } }