Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
+6
-6
@@ -15,7 +15,7 @@ #!/usr/bin/env node | ||
| const PLATFORMS = { | ||
| 'linux-x64': { url: 'codexctl-x86_64-unknown-linux-gnu.tar.gz', ext: '.tar.gz' }, | ||
| 'linux-arm64': { url: 'codexctl-aarch64-unknown-linux-gnu.tar.gz', ext: '.tar.gz' }, | ||
| 'darwin-x64': { url: 'codexctl-x86_64-apple-darwin.tar.gz', ext: '.tar.gz' }, | ||
| 'darwin-arm64': { url: 'codexctl-aarch64-apple-darwin.tar.gz', ext: '.tar.gz' }, | ||
| 'win32-x64': { url: 'codexctl-x86_64-pc-windows-msvc.zip', ext: '.zip' } | ||
| 'linux-x64': { url: 'codexctl-x86_64-unknown-linux-gnu.tar.gz', ext: '.tar.gz', name: 'linux' }, | ||
| 'linux-arm64': { url: 'codexctl-aarch64-unknown-linux-gnu.tar.gz', ext: '.tar.gz', name: 'linux' }, | ||
| 'darwin-x64': { url: 'codexctl-x86_64-apple-darwin.tar.gz', ext: '.tar.gz', name: 'darwin' }, | ||
| 'darwin-arm64': { url: 'codexctl-aarch64-apple-darwin.tar.gz', ext: '.tar.gz', name: 'darwin' }, | ||
| 'win32-x64': { url: 'codexctl-x86_64-pc-windows-msvc.zip', ext: '.zip', name: 'win32' } | ||
| }; | ||
@@ -31,3 +31,3 @@ | ||
| const binName = platform.ext === '.zip' ? 'codexctl.exe' : 'codexctl'; | ||
| const binPath = path.join(binDir, binName); | ||
| const binPath = path.join(binDir, platform.name, binName); | ||
@@ -34,0 +34,0 @@ async function download() { |
+1
-1
| { | ||
| "name": "codexctl", | ||
| "version": "0.5.1", | ||
| "version": "0.5.2", | ||
| "description": "Codex CLI Profile Manager - Manage multiple AI CLI accounts", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
44538174
16.5%13
8.33%15
7.14%