mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 20:59:30 +08:00
21 lines
310 B
Go
21 lines
310 B
Go
package main
|
|
|
|
import (
|
|
wails "github.com/wailsapp/wails/v2"
|
|
)
|
|
|
|
func main() {
|
|
|
|
// Create application with options
|
|
app := wails.CreateAppWithOptions(&wails.Options{
|
|
Title: "disable resize",
|
|
Width: 1024,
|
|
Height: 768,
|
|
DisableResize: true,
|
|
})
|
|
|
|
app.Bind(newBasic())
|
|
|
|
app.Run()
|
|
}
|