From 07ad41230d663816e9894b59b110fa2f7075ca18 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Mon, 29 Nov 2021 21:10:26 +0100 Subject: [ui] style help links --- pkg/config/version/checknewer.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg/config/version/checknewer.go') diff --git a/pkg/config/version/checknewer.go b/pkg/config/version/checknewer.go index 115696a..f253877 100644 --- a/pkg/config/version/checknewer.go +++ b/pkg/config/version/checknewer.go @@ -17,6 +17,9 @@ const verURI = "https://downloads.leap.se/RiseupVPN/" // at the moment, we hardcode RiseupVPN in the path, assuming that all clients // stay in sync. func CanUpgrade() bool { + if os.Getenv("SKIP_VERSION_CHECK") == "1" { + return false + } log.Println("Checking for updates...") uri := verURI switch runtime.GOOS { -- cgit v1.2.3