diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-07 09:56:56 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-07 10:59:06 +0200 |
commit | dc723cd9818a975b29c7e38ef1e96cbcb2b482df (patch) | |
tree | cb9da7b9030cd19e2aa5eb61952a50ab8c341207 /ui/ui.go | |
parent | ui: select first tunnel even when showing updates tab (diff) | |
download | wireguard-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.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -17,6 +17,7 @@ import ( var iconProvider *IconProvider var shouldQuitManagerWhenExiting = false +var startTime = time.Now() func RunUI() { runtime.LockOSThread() |