mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 22:50:59 +08:00
22 lines
413 B
Go
22 lines
413 B
Go
//go:build !dev && !production && !bindings && darwin
|
|
|
|
package appng
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/wailsapp/wails/v2/pkg/options"
|
|
)
|
|
|
|
// App defines a Wails application structure
|
|
type App struct{}
|
|
|
|
func (a *App) Run() error {
|
|
return nil
|
|
}
|
|
|
|
// CreateApp creates the app!
|
|
func CreateApp(_ *options.App) (*App, error) {
|
|
return nil, fmt.Errorf(`Wails applications will not build without the correct build tags.`)
|
|
}
|