mirror of
https://github.com/Macrame-App/Macrame
synced 2025-12-29 07:19:26 +00:00
Systray update.
This commit is contained in:
parent
86f98cb8e5
commit
9c6b20ecc6
3 changed files with 8 additions and 5 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue