From 2bf536265a8978b635330eeb61bc598d32fab62f Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Mon, 27 Aug 2018 19:37:01 +1000 Subject: [PATCH] disable updating on windows for now --- pkg/updates/updates.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/updates/updates.go b/pkg/updates/updates.go index ae2265c4e..42e77e989 100644 --- a/pkg/updates/updates.go +++ b/pkg/updates/updates.go @@ -139,6 +139,12 @@ func (u *Updater) CheckForNewUpdate(onFinish func(string, error) error, userRequ } func (u *Updater) skipUpdateCheck() bool { + // will remove the check for windows after adding a manifest file asking for + // the required permissions + if runtime.GOOS == "windows" { + return true + } + if u.Config.GetBuildSource() != "buildBinary" { return true }