diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-05-17 18:14:28 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-08-04 20:22:14 +0200 |
commit | 82129ba288f7561c89bb80e04841ffb46bc29889 (patch) | |
tree | 6736983a40870c76876a4633fb5ca3b730fbf9da /ui/ui.go | |
parent | winipcfg: do not set MTU in registry after setting it in iphlpapi (diff) | |
download | wireguard-windows-82129ba288f7561c89bb80e04841ffb46bc29889.tar.xz wireguard-windows-82129ba288f7561c89bb80e04841ffb46bc29889.zip |
ui: show update tab but not alert for limited user
Suggested-by: Diab Neiroukh <lazerl0rd@thezest.dev>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/ui.go')
-rw-r--r-- | ui/ui.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -73,7 +73,7 @@ func RunUI() { switch updateState { case manager.UpdateStateFoundUpdate: mtw.UpdateFound() - if tray != nil { + if tray != nil && IsAdmin { tray.UpdateFound() } case manager.UpdateStateUpdatesDisabledUnofficialBuild: |