diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-02 12:01:25 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-02 12:01:25 +0200 |
commit | 22bab760049861411fba09bbe0d2ad41efa25202 (patch) | |
tree | ece31bbcd6514680950250dce7aeddbee66d34a0 /ui | |
parent | manifest: disable per-monitor DPI (diff) | |
download | wireguard-windows-22bab760049861411fba09bbe0d2ad41efa25202.tar.xz wireguard-windows-22bab760049861411fba09bbe0d2ad41efa25202.zip |
ui: settle unofficial behavior
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.go | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -58,19 +58,12 @@ func RunUI() { }) }) - //XXX: REMOVE ME! - const keepUpdaterInUnofficialBuild = true - go func() { if !version.IsRunningOfficialVersion() { mtw.Synchronize(func() { - mtw.SetTitle(mtw.Title() + " (unofficial/untrusted/unverified build)") - tray.ShowWarning("Unverified WireGuard Build", "The build of WireGuard that you are running is unofficial/untrusted/unverified. You may want to double-check your download source.") + mtw.SetTitle(mtw.Title() + " (unsigned build)") }) - if !keepUpdaterInUnofficialBuild { - // Don't check for updates on unofficial builds. - return - } + return } first := true |