macos: keep CLI install build suffix

This commit is contained in:
Artus KG
2026-01-17 18:11:21 +01:00
committed by Peter Steinberger
parent 7876679c5d
commit 7929f57460
4 changed files with 16 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ enum CLIInstaller {
}
static func install(statusHandler: @escaping @MainActor @Sendable (String) async -> Void) async {
let expected = GatewayEnvironment.expectedGatewayVersion()?.description ?? "latest"
let expected = GatewayEnvironment.expectedGatewayVersionString() ?? "latest"
let prefix = Self.installPrefix()
await statusHandler("Installing clawdbot CLI…")
let cmd = self.installScriptCommand(version: expected, prefix: prefix)