()
| 12 | var assets embed.FS |
| 13 | |
| 14 | func main() { |
| 15 | app := NewApp() |
| 16 | |
| 17 | err := wails.Run(&options.App{ |
| 18 | Title: "GeodatExplorer", |
| 19 | Width: 1024, |
| 20 | Height: 768, |
| 21 | AssetServer: &assetserver.Options{ |
| 22 | Assets: assets, |
| 23 | }, |
| 24 | OnStartup: app.startup, |
| 25 | Bind: []interface{}{ |
| 26 | app, |
| 27 | }, |
| 28 | }) |
| 29 | if err != nil { |
| 30 | panic(err) |
| 31 | } |
| 32 | } |