mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-06 19:30:10 +08:00
24 lines
400 B
Plaintext
24 lines
400 B
Plaintext
package main
|
|
|
|
import (
|
|
"github.com/leaanthony/mewn"
|
|
"github.com/wailsapp/wails"
|
|
)
|
|
|
|
func main() {
|
|
|
|
js := mewn.String("./frontend/build/main.js")
|
|
css := mewn.String("./frontend/build/main.css")
|
|
|
|
app := wails.CreateApp(&wails.AppConfig{
|
|
Width: 1024,
|
|
Height: 768,
|
|
Title: "{{.Name}}",
|
|
JS: js,
|
|
CSS: css,
|
|
Colour: "#131313",
|
|
})
|
|
app.Bind(&Counter{})
|
|
app.Run()
|
|
}
|