//go:build windows package main import ( "os" "log" "path/filepath" "vrc_osc_go/internal/app" ) func main() { if exe, err := os.Executable(); err == nil { _ = app.AppendRuntimeLog("GUI", "starting vrc_osc_gui.exe exe="+exe+" dir="+filepath.Dir(exe)) } else { _ = app.AppendRuntimeLog("GUI", "starting vrc_osc_gui.exe exe=unknown err="+err.Error()) } if err := runNativeGUI(); err != nil { _ = app.AppendRuntimeLog("GUI", "runNativeGUI failed: "+err.Error()) log.Fatal(err) } _ = app.AppendRuntimeLog("GUI", "runNativeGUI returned cleanly") }