Skip to content

Commit

Permalink
update go modules
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Jan 25, 2023
1 parent 94381ed commit da0be1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions main_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,8 @@ func LaunchView() error {
if err := os.Setenv("NO_PROXY", "127.0.0.1:7672"); err != nil {
return err
}
if err := os.Setenv("ALL_PROXY", "socks5://127.0.0.1:"+*socksPort); err != nil {
return err
}
debug := true
addr := configuration.Config.HttpHostAndPort
addr := configuration.Config().HttpHostAndPort
webView := webview.NewWithOptions(webview.WebViewOptions{
Debug: debug,
AutoFocus: true,
Expand Down
5 changes: 1 addition & 4 deletions osxview.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ func main() {
if err := os.Setenv("NO_PROXY", "127.0.0.1:7672"); err != nil {
log.Fatal(err)
}
if err := os.Setenv("ALL_PROXY", "socks5://127.0.0.1:"+*socksPort); err != nil {
log.Fatal(err)
}
debug := true
addr := configuration.Config.HttpHostAndPort
addr := configuration.Config().HttpHostAndPort
webView := webview.New(debug)
defer webView.Destroy()
webView.SetTitle("Railroad Blog - Administration")
Expand Down

0 comments on commit da0be1a

Please sign in to comment.