Systray update.

This commit is contained in:
Jesse Malotaux 2025-05-03 02:03:48 +02:00
parent 86f98cb8e5
commit 9c6b20ecc6
3 changed files with 8 additions and 5 deletions

View file

@ -18,9 +18,11 @@ func OnReady() {
systray.SetTitle("Macrame")
systray.SetTooltip("Macrame - Server")
ip, _ := GetServerIp()
ip, err := GetServerIp()
systray.AddMenuItem("IP: "+ip+":"+helper.EnvGet("MCRM__PORT"), "")
if err == nil {
systray.AddMenuItem("IP: "+ip+":"+helper.EnvGet("MCRM__PORT"), "")
}
systray.AddSeparator()