diff --git a/cmd/app/electron.go b/cmd/app/electron.go index 98a1ef3..e34c239 100644 --- a/cmd/app/electron.go +++ b/cmd/app/electron.go @@ -53,6 +53,7 @@ func init() { api.GET("/focusElectron", func(c echo.Context) error { if mainWindow != nil { go mainWindow.Show() + go mainWindow.Focus() } return c.NoContent(http.StatusOK) })