mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07:00
Update tests
This commit is contained in:
@@ -2,12 +2,13 @@ package main
|
||||
|
||||
import (
|
||||
wails "github.com/wailsapp/wails/v2"
|
||||
"github.com/wailsapp/wails/v2/pkg/options"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
// Create application with options
|
||||
app := wails.CreateAppWithOptions(&wails.Options{
|
||||
app := wails.CreateAppWithOptions(&options.App{
|
||||
Title: "disable resize",
|
||||
Width: 1024,
|
||||
Height: 768,
|
||||
|
||||
@@ -2,12 +2,13 @@ package main
|
||||
|
||||
import (
|
||||
wails "github.com/wailsapp/wails/v2"
|
||||
"github.com/wailsapp/wails/v2/pkg/options"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
// Create application with options
|
||||
app := wails.CreateAppWithOptions(&wails.Options{
|
||||
app := wails.CreateAppWithOptions(&options.App{
|
||||
Title: "Hidden Demo",
|
||||
Width: 1024,
|
||||
Height: 768,
|
||||
|
||||
Reference in New Issue
Block a user