🎨 Support Windows arm64 https://github.com/siyuan-note/siyuan/issues/11565
This commit is contained in:
parent
ad03c4bea3
commit
415937f028
1 changed files with 5 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue