diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-27 19:37:01 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-27 19:37:01 +1000 |
commit | 2bf536265a8978b635330eeb61bc598d32fab62f (patch) | |
tree | bd35d4f7b5ad6f00b00fd6887add9e87881372d4 /pkg/updates | |
parent | 43f612feb128ba34a8192db78e4623ebc7af405a (diff) |
disable updating on windows for now
Diffstat (limited to 'pkg/updates')
-rw-r--r-- | pkg/updates/updates.go | 6 |
1 files changed, 6 insertions, 0 deletions
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 } |