🔥 Windows 端不再支持 32 位系统 Fix https://github.com/siyuan-note/siyuan/issues/6386

This commit is contained in:
Liang Ding 2022-10-28 10:34:37 +08:00
parent 7a7ae253b6
commit 142abbe8e1
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 2 additions and 86 deletions

View file

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