diff --git a/lib/app.go b/lib/app.go index f72c2ec..0ca25f1 100644 --- a/lib/app.go +++ b/lib/app.go @@ -44,9 +44,11 @@ func (r *ResticBrowserApp) Startup(ctx context.Context) { Title: "Restic Binary Missing", Message: message, Buttons: []string{"Okay"}, - Icon: nil, } - runtime.MessageDialog(*r.context, options) + _, err := runtime.MessageDialog(*r.context, options) + if err != nil { + fmt.Printf("failed to show message: %s\n", err.Error()) + } } // create app temp dir tempPath, err := ioutil.TempDir(os.TempDir(), "restic-browser")