feat: 添加对 FreeBSD 和 Windows 及 x86 的支持

This commit is contained in:
zhiqin xu
2025-09-12 22:41:19 +08:00
parent d19fae83ba
commit 7d486ecc5f
2 changed files with 35 additions and 5 deletions

View File

@@ -40,6 +40,7 @@ if ($GitHubProxy -ne '') { $ProxyDisplay = $GitHubProxy } else { $ProxyDisplay =
switch ($env:PROCESSOR_ARCHITECTURE) {
'AMD64' { $arch = 'amd64' }
'ARM64' { $arch = 'arm64' }
'x86' { $arch = '386' }
Default { Log-Error "Unsupported architecture: $env:PROCESSOR_ARCHITECTURE"; exit 1 }
}