From 2e0bf61e9a32e76b79bc0eeb9667cb95628a487a Mon Sep 17 00:00:00 2001 From: Rui Lopes Date: Mon, 31 Oct 2022 23:34:30 +0000 Subject: [PATCH] correctly set the windows application icon on windows (#535) the icon format is not really supported, so this uses a png instead. this closes https://github.com/netbirdio/netbird/issues/534. --- client/ui/client_ui.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/client/ui/client_ui.go b/client/ui/client_ui.go index ed7b8ca79..ab6ca0c19 100644 --- a/client/ui/client_ui.go +++ b/client/ui/client_ui.go @@ -62,12 +62,7 @@ func main() { flag.Parse() a := app.New() - - if runtime.GOOS == "windows" { - a.SetIcon(fyne.NewStaticResource("netbird", iconDisconnectedICO)) - } else { - a.SetIcon(fyne.NewStaticResource("netbird", iconDisconnectedPNG)) - } + a.SetIcon(fyne.NewStaticResource("netbird", iconDisconnectedPNG)) client := newServiceClient(daemonAddr, a, showSettings) if showSettings {