16 lines
509 B
Go
16 lines
509 B
Go
// Package wails is the main package of the Wails project.
|
|
// It is used by client applications.
|
|
package wails
|
|
|
|
import (
|
|
_ "github.com/wailsapp/wails/v2/internal/goversion" // Add Compile-Time version check for minimum go version
|
|
"github.com/wailsapp/wails/v2/pkg/application"
|
|
"github.com/wailsapp/wails/v2/pkg/options"
|
|
)
|
|
|
|
// Run creates an application based on the given config and executes it
|
|
func Run(options *options.App) error {
|
|
mainApp := application.NewWithOptions(options)
|
|
return mainApp.Run()
|
|
}
|