5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 01:13:03 +08:00
wails/cmd/templates/custom/main.go
Lea Anthony 53cf2bb953 Only run default command if no args
Add custom template (Frameworks)
2018-12-26 19:09:18 +11:00

20 lines
268 B
Go

package main
import (
wails "github.com/wailsapp/wails"
)
var html = `<h1> Custom Project </h1>`
func main() {
// Initialise the app
app := wails.CreateApp(&wails.AppConfig{
Width: 800,
Height: 600,
Title: "My Project",
HTML: html,
})
app.Run()
}