fix: Fixed agent windows version
Server Deploy / deploy (push) Successful in 1m28s
Agent Release / build (push) Successful in 10m34s
Agent Release / msi (push) Successful in 57s

This commit is contained in:
2026-07-17 15:38:00 +01:00
parent 4f3f3601d2
commit d31486ae1b
9 changed files with 149 additions and 14 deletions
+4 -1
View File
@@ -189,7 +189,10 @@ export const api = {
});
},
getUpdateCommand(): string {
getUpdateCommand(osInfo?: string): string {
if (osInfo && osInfo.toLowerCase().includes("windows")) {
return `irm "${window.location.origin}/update.ps1" | iex`;
}
return `curl -fsSL "${window.location.origin}/update" | bash`;
},