From 1e5f8e03cb1c18489fe78bd9d4074017e32572c0 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Fri, 21 Jan 2022 20:25:47 +1100 Subject: [PATCH] Tidy Up --- v2/internal/appng/app_default_darwin.go | 13 +------------ v2/internal/appng/app_default_linux.go | 13 +------------ 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/v2/internal/appng/app_default_darwin.go b/v2/internal/appng/app_default_darwin.go index f0971f864..4cde85212 100644 --- a/v2/internal/appng/app_default_darwin.go +++ b/v2/internal/appng/app_default_darwin.go @@ -17,16 +17,5 @@ func (a *App) Run() error { // CreateApp creates the app! func CreateApp(_ *options.App) (*App, error) { - // result := w32.MessageBox(0, - // `Wails applications will not build without the correct build tags. - //Please use "wails build" or press "OK" to open the documentation on how to use "go build"`, - // "Error", - // w32.MB_ICONERROR|w32.MB_OKCANCEL) - // if result == 1 { - // exec.Command("rundll32", "url.dll,FileProtocolHandler", "https://wails.io").Start() - // } - - err := fmt.Errorf(`Wails applications will not build without the correct build tags.`) - - return nil, err + return nil, fmt.Errorf(`Wails applications will not build without the correct build tags.`) } diff --git a/v2/internal/appng/app_default_linux.go b/v2/internal/appng/app_default_linux.go index 3356debae..ec54dd107 100644 --- a/v2/internal/appng/app_default_linux.go +++ b/v2/internal/appng/app_default_linux.go @@ -17,16 +17,5 @@ func (a *App) Run() error { // CreateApp creates the app! func CreateApp(_ *options.App) (*App, error) { - // result := w32.MessageBox(0, - // `Wails applications will not build without the correct build tags. - //Please use "wails build" or press "OK" to open the documentation on how to use "go build"`, - // "Error", - // w32.MB_ICONERROR|w32.MB_OKCANCEL) - // if result == 1 { - // exec.Command("rundll32", "url.dll,FileProtocolHandler", "https://wails.io").Start() - // } - - err := fmt.Errorf(`Wails applications will not build without the correct build tags.`) - - return nil, err + return nil, fmt.Errorf(`Wails applications will not build without the correct build tags.`) }