summaryrefslogtreecommitdiffstats
path: root/pkg/updates
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-08-27 19:37:01 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-08-27 19:37:01 +1000
commit2bf536265a8978b635330eeb61bc598d32fab62f (patch)
treebd35d4f7b5ad6f00b00fd6887add9e87881372d4 /pkg/updates
parent43f612feb128ba34a8192db78e4623ebc7af405a (diff)
disable updating on windows for now
Diffstat (limited to 'pkg/updates')
-rw-r--r--pkg/updates/updates.go6
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
}