5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 06:39:30 +08:00

Expose Store

This commit is contained in:
Lea Anthony 2021-01-03 20:20:44 +11:00
parent 1889973af1
commit 2dedd0b702
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -11,6 +11,9 @@ import (
// Runtime is an alias for the runtime.Runtime struct // Runtime is an alias for the runtime.Runtime struct
type Runtime = runtime.Runtime type Runtime = runtime.Runtime
// Store is an alias for the Store object
type Store = runtime.Store
// CreateAppWithOptions creates an application based on the given config // CreateAppWithOptions creates an application based on the given config
func CreateAppWithOptions(options *options.App) (*app.App, error) { func CreateAppWithOptions(options *options.App) (*app.App, error) {
return app.CreateApp(options) return app.CreateApp(options)