This commit is contained in:
Daniel 2024-06-03 22:50:32 +08:00
parent ad03c4bea3
commit 415937f028
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -121,7 +121,11 @@ func getUpdatePkg() (downloadPkgURLs []string, checksum string, err error) {
var suffix string
if gulu.OS.IsWindows() {
suffix = "win.exe"
if "arm64" == runtime.GOARCH {
suffix = "win-arm64.exe"
} else {
suffix = "win.exe"
}
} else if gulu.OS.IsDarwin() {
if "arm64" == runtime.GOARCH {
suffix = "mac-arm64.dmg"