rum-goggles/v1/vendor/github.com/wailsapp/wails/v2/wails.go
2024-02-23 12:10:39 -05:00

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()
}