mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 22:13:36 +08:00
25 lines
484 B
Go
25 lines
484 B
Go
//go:build !dev && !production && !bindings && linux
|
|
// +build !dev,!production,!bindings,linux
|
|
|
|
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
|
|
}
|
|
|
|
func (a *App) Shutdown() {}
|
|
|
|
// CreateApp creates the app!
|
|
func CreateApp(_ *options.App) (*App, error) {
|
|
return nil, fmt.Errorf(`Wails applications will not build without the correct build tags.`)
|
|
}
|