24 lines
331 B
Go
24 lines
331 B
Go
package main
|
|
|
|
import (
|
|
_ "embed"
|
|
|
|
t "git.iwakura.rip/grng/tiramisu"
|
|
webview "github.com/webview/webview_go"
|
|
)
|
|
|
|
//go:embed index.html
|
|
var html string
|
|
|
|
func main() {
|
|
app := t.New(t.TiramisuOptions{
|
|
Debug: true,
|
|
Width: 800,
|
|
Height: 600,
|
|
Title: "Tiramisu",
|
|
Hints: webview.HintFixed,
|
|
})
|
|
|
|
app.HTML(html)
|
|
app.Run()
|
|
}
|