diff --git a/main.go b/main.go index c8eb97d..138525a 100644 --- a/main.go +++ b/main.go @@ -6,9 +6,11 @@ import "fmt" import "github.com/mitchellh/go-homedir" // import "os" import "strings" +import "time" import "github.com/gookit/config" import "github.com/andlabs/ui" +import _ "github.com/andlabs/ui/winmanifest" // dns // import "github.com/miekg/dns" @@ -285,5 +287,7 @@ func setupUI() { func main() { parseConfig() + time.Sleep(2 * 1000 * 1000 * 1000) + ui.Main(setupUI) } diff --git a/table.go b/table.go index 7899829..2313525 100644 --- a/table.go +++ b/table.go @@ -5,6 +5,7 @@ package main import "fmt" import "log" import "github.com/andlabs/ui" +import _ "github.com/andlabs/ui/winmanifest" import "github.com/davecgh/go-spew/spew" type vmRowData struct { diff --git a/tableCallbacks.go b/tableCallbacks.go index 342d832..440647d 100644 --- a/tableCallbacks.go +++ b/tableCallbacks.go @@ -1,6 +1,7 @@ package main import "github.com/andlabs/ui" +import _ "github.com/andlabs/ui/winmanifest" func (mh *modelHandler) NumRows(m *ui.TableModel) int { // log.Println("NumRows() with m=", m)