mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-19 00:06:58 +02: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()
|
flag.Parse()
|
||||||
|
|
||||||
a := app.New()
|
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)
|
client := newServiceClient(daemonAddr, a, showSettings)
|
||||||
if showSettings {
|
if showSettings {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user