Fix #193: exit and reactivate existing instance if another instance running

This commit is contained in:
Drew Weymouth
2023-06-17 17:00:47 -07:00
parent 0906d118b4
commit 20e4d8c5f2
5 changed files with 57 additions and 6 deletions
+1
View File
@@ -38,6 +38,7 @@ func main() {
h = 800
}
mainWindow := ui.NewMainWindow(fyneApp, displayName, appVersion, myApp, fyne.NewSize(w, h))
myApp.OnReactivate = mainWindow.Show
go func() {
// TODO: There is a race condition with laying out the window before the