mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-23 14:28:51 +01:00
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:
parent
126af9dffc
commit
2e0bf61e9a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user