5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 07:52:12 +08:00
wails/v2/wails.go
2021-01-26 06:45:23 +11:00

21 lines
570 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/app"
"github.com/wailsapp/wails/v2/internal/runtime"
"github.com/wailsapp/wails/v2/pkg/options"
)
// Runtime is an alias for the runtime.Runtime struct
type Runtime = runtime.Runtime
// Store is an alias for the Store object
type Store = runtime.Store
// CreateApp creates an application based on the given config
func CreateApp(options *options.App) (*app.App, error) {
return app.CreateApp(options)
}