mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-17 09:29:30 +08:00
[v2] Template updates
This commit is contained in:
parent
b7c28ab1f2
commit
3781cbe731
@ -19,7 +19,7 @@ func main() {
|
|||||||
|
|
||||||
// Create application with options
|
// Create application with options
|
||||||
err := wails.Run(&options.App{
|
err := wails.Run(&options.App{
|
||||||
Title: "",
|
Title: "{{.ProjectName}}",
|
||||||
Width: 720,
|
Width: 720,
|
||||||
Height: 570,
|
Height: 570,
|
||||||
MinWidth: 720,
|
MinWidth: 720,
|
||||||
@ -42,9 +42,9 @@ func main() {
|
|||||||
},
|
},
|
||||||
// Windows platform specific options
|
// Windows platform specific options
|
||||||
Windows: &windows.Options{
|
Windows: &windows.Options{
|
||||||
WebviewIsTransparent: true,
|
WebviewIsTransparent: false,
|
||||||
WindowIsTranslucent: true,
|
WindowIsTranslucent: false,
|
||||||
DisableWindowIcon: true,
|
DisableWindowIcon: false,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user