open flag

This commit is contained in:
Nazar Kanaev
2021-01-18 23:16:13 +00:00
parent e79cb9e6e0
commit 20a0a6724a
3 changed files with 16 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ func Start(s *server.Handler) {
for {
select {
case <-menuOpen.ClickedCh:
open.Run("http://" + s.Addr)
open.Run(s.GetAddr())
case <-menuQuit.ClickedCh:
systray.Quit()
}