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.
This commit is contained in:
Rui Lopes
2022-11-01 00:34:30 +01:00
committed by GitHub
parent 126af9dffc
commit 2e0bf61e9a
+1 -6
View File
@@ -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 {