You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.go 472B

1234567891011121314151617181920212223242526272829
  1. package main
  2. import (
  3. "git.parallelcoin.io/dev/pod/cmd"
  4. "github.com/leaanthony/mewn"
  5. "github.com/wailsapp/wails"
  6. )
  7. func basic() string {
  8. return "Hello World!"
  9. }
  10. func main() {
  11. go cmd.Main()
  12. js := mewn.String("./frontend/dist/app.js")
  13. css := mewn.String("./frontend/dist/app.css")
  14. app := wails.CreateApp(&wails.AppConfig{
  15. Width: 1024,
  16. Height: 768,
  17. Title: "My Project",
  18. JS: js,
  19. CSS: css,
  20. Colour: "#131313",
  21. })
  22. app.Bind(basic)
  23. app.Run()
  24. }