mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 01:13:03 +08:00
20 lines
268 B
Go
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()
|
|
}
|