Release 3.8.2.7: Windows taskbar/tray sea-wave icon when connected.
ci / test (macos-latest) (push) Waiting to run
ci / test (ubuntu-latest) (push) Waiting to run
ci / test (windows-latest) (push) Waiting to run

Match macOS Dock behavior using the same idle/connected glyph assets.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
M4
2026-08-01 16:45:55 +03:00
co-authored by Cursor
parent 5d7c96f7fc
commit fed1ace33e
20 changed files with 395 additions and 24 deletions
+2
View File
@@ -15,6 +15,7 @@ import (
"vpnclient/internal/apphost"
"vpnclient/internal/config"
"vpnclient/internal/core"
"vpnclient/internal/dockicon"
"vpnclient/internal/logbuf"
"vpnclient/internal/trayhost"
"vpnclient/internal/update"
@@ -71,6 +72,7 @@ func main() {
}()
a.StartBackground()
dockicon.OnIconChange = trayhost.SetConnectedIcon
trayhost.Start("Navis", trayhost.Hooks{
Connect: func() { _ = a.Connect() },
Disconnect: func() { _ = a.Disconnect() },
+3
View File
@@ -12,6 +12,8 @@ import (
"github.com/crgimenes/glaze"
"golang.org/x/sys/windows"
"vpnclient/internal/dockicon"
)
var (
@@ -68,6 +70,7 @@ func decorateWindow(w glaze.WebView) {
}
hwnd := w.Window()
applyWindowIcon(hwnd)
dockicon.BindWindow(hwnd)
installCloseToHide(hwnd)
}