aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/ui.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-07 09:56:56 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-07 10:59:06 +0200
commitdc723cd9818a975b29c7e38ef1e96cbcb2b482df (patch)
treecb9da7b9030cd19e2aa5eb61952a50ab8c341207 /ui/ui.go
parentui: select first tunnel even when showing updates tab (diff)
downloadwireguard-windows-dc723cd9818a975b29c7e38ef1e96cbcb2b482df.tar.xz
wireguard-windows-dc723cd9818a975b29c7e38ef1e96cbcb2b482df.zip
ui: defer update popup until 3 seconds after app start
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/ui.go')
-rw-r--r--ui/ui.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ui.go b/ui/ui.go
index 9b9e1e8b..c5fa03c6 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -17,6 +17,7 @@ import (
var iconProvider *IconProvider
var shouldQuitManagerWhenExiting = false
+var startTime = time.Now()
func RunUI() {
runtime.LockOSThread()