From 94148a1f872b068feaa88f650c8a1d7c948db3d0 Mon Sep 17 00:00:00 2001 From: "heecheol.park" Date: Wed, 9 Jul 2025 09:39:45 +0900 Subject: [PATCH] Add Android platform support for Codex CLI - Add 'android' to the list of supported platforms in codex.js - Treats Android as Linux for binary compatibility - Fixes 'Unsupported platform: android (arm64)' error on Termux --- codex-cli/bin/codex.js | 1 + 1 file changed, 1 insertion(+) diff --git a/codex-cli/bin/codex.js b/codex-cli/bin/codex.js index 45a597b271..54b99078e4 100755 --- a/codex-cli/bin/codex.js +++ b/codex-cli/bin/codex.js @@ -41,6 +41,7 @@ if (wantsNative) { let targetTriple = null; switch (platform) { case "linux": + case "android": switch (arch) { case "x64": targetTriple = "x86_64-unknown-linux-musl";