mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Support Windows arm64 https://github.com/siyuan-note/siyuan/issues/11565
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user