mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 01:50:09 +08:00
Tidy Up
This commit is contained in:
parent
4f3c14f25b
commit
1e5f8e03cb
@ -17,16 +17,5 @@ func (a *App) Run() error {
|
|||||||
|
|
||||||
// CreateApp creates the app!
|
// CreateApp creates the app!
|
||||||
func CreateApp(_ *options.App) (*App, error) {
|
func CreateApp(_ *options.App) (*App, error) {
|
||||||
// result := w32.MessageBox(0,
|
return nil, fmt.Errorf(`Wails applications will not build without the correct build tags.`)
|
||||||
// `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
|
|
||||||
}
|
}
|
||||||
|
@ -17,16 +17,5 @@ func (a *App) Run() error {
|
|||||||
|
|
||||||
// CreateApp creates the app!
|
// CreateApp creates the app!
|
||||||
func CreateApp(_ *options.App) (*App, error) {
|
func CreateApp(_ *options.App) (*App, error) {
|
||||||
// result := w32.MessageBox(0,
|
return nil, fmt.Errorf(`Wails applications will not build without the correct build tags.`)
|
||||||
// `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
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user