[windows-x] Support embed.fs assets, log runtime

This commit is contained in:
Lea Anthony
2021-08-01 20:13:14 +10:00
parent 1a69d93d32
commit 244b3dc2b4
21 changed files with 585 additions and 22 deletions

View File

@@ -1,6 +1,9 @@
package windows
import "github.com/wailsapp/wails/v2/pkg/menu"
import (
"embed"
"github.com/wailsapp/wails/v2/pkg/menu"
)
// Options are options specific to Windows
type Options struct {
@@ -8,4 +11,5 @@ type Options struct {
WindowBackgroundIsTranslucent bool
DisableWindowIcon bool
Menu *menu.Menu
Assets *embed.FS
}