From 4bacf4a37c8ed4091c3201835a0e3db919a6464a Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 8 Feb 2021 16:16:15 +0100 Subject: build: port to arm64 We build Go from modified-source with a bootstrap version, rather than shipping so many patches in this repo. This commit also removes the previous WOW hacks, and goes back to strictly forbidding WOW. Signed-off-by: Jason A. Donenfeld --- updater/versions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'updater') diff --git a/updater/versions.go b/updater/versions.go index a6671b12..5b42a748 100644 --- a/updater/versions.go +++ b/updater/versions.go @@ -54,7 +54,7 @@ func versionNewerThanUs(candidate string) (bool, error) { } func findCandidate(candidates fileList) (*UpdateFound, error) { - prefix := fmt.Sprintf(msiArchPrefix, version.NativeArch()) + prefix := fmt.Sprintf(msiArchPrefix, version.Arch()) suffix := msiSuffix for name, hash := range candidates { if strings.HasPrefix(name, prefix) && strings.HasSuffix(name, suffix) { -- cgit v1.2.3-59-g8ed1b