mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-25 16:35:07 +03:00
Embedded go-webview-selector
This commit is contained in:
parent
e7ea9a9b1e
commit
99e7bfa71c
6 changed files with 78 additions and 7 deletions
|
@ -5,7 +5,6 @@ import (
|
|||
"os"
|
||||
|
||||
"github.com/RiV-chain/RiV-mesh/src/defaults"
|
||||
"github.com/jchv/go-webview-selector"
|
||||
|
||||
"github.com/docopt/docopt-go"
|
||||
)
|
||||
|
@ -37,10 +36,10 @@ func main() {
|
|||
Console(false)
|
||||
}
|
||||
debug := true
|
||||
w := webview.New(debug)
|
||||
w := New(debug)
|
||||
defer w.Destroy()
|
||||
w.SetTitle("RiV-mesh")
|
||||
w.SetSize(690, 920, webview.HintFixed)
|
||||
w.SetSize(690, 920, HintFixed)
|
||||
|
||||
if confui.IndexHtml == "" {
|
||||
confui.IndexHtml = defaults.GetHttpEndpoint("http://localhost:19019")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue