2023-08-25 20:33:11 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"embed"
|
|
|
|
|
|
2024-06-24 21:25:20 +02:00
|
|
|
"changeme/hardware"
|
2023-08-25 20:33:11 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
//go:embed all:frontend/dist
|
|
|
|
|
var assets embed.FS
|
|
|
|
|
|
|
|
|
|
func main() {
|
2024-06-24 21:25:20 +02:00
|
|
|
hardware.SearchForDevices()
|
|
|
|
|
|
2023-08-25 20:33:11 +00:00
|
|
|
// Create an instance of the app structure
|
2024-06-24 21:25:20 +02:00
|
|
|
// app := NewApp()
|
2023-08-25 20:33:11 +00:00
|
|
|
|
2024-06-24 21:25:20 +02:00
|
|
|
// // Create application with options
|
|
|
|
|
// err := wails.Run(&options.App{
|
|
|
|
|
// Title: "dmxconnect",
|
|
|
|
|
// Width: 1024,
|
|
|
|
|
// Height: 768,
|
|
|
|
|
// AssetServer: &assetserver.Options{
|
|
|
|
|
// Assets: assets,
|
|
|
|
|
// },
|
|
|
|
|
// BackgroundColour: &options.RGBA{R: 27, G: 38, B: 54, A: 1},
|
|
|
|
|
// OnStartup: app.startup,
|
|
|
|
|
// Bind: []interface{}{
|
|
|
|
|
// app,
|
|
|
|
|
// },
|
|
|
|
|
// })
|
2023-08-25 20:33:11 +00:00
|
|
|
|
2024-06-24 21:25:20 +02:00
|
|
|
// if err != nil {
|
|
|
|
|
// println("Error:", err.Error())
|
|
|
|
|
// }
|
2023-08-25 20:33:11 +00:00
|
|
|
}
|