summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-07 03:10:21 -0600
committerJeff Carr <[email protected]>2024-11-07 03:10:21 -0600
commit9d1b3c03590af139de4a2b63d06f24fd74bcb283 (patch)
tree987a06a5ae26749c00b54be5b3649a0e64ad4448 /main.go
parent5e635873adb191988ebb7ac2d115efd602c31313 (diff)
keep hammering
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.go b/main.go
index 8e5731e..8cb05e2 100644
--- a/main.go
+++ b/main.go
@@ -1,6 +1,7 @@
package main
import (
+ "embed"
"os"
"path/filepath"
@@ -12,6 +13,10 @@ import (
)
var VERSION string
+
+//go:embed resources/*
+var resources embed.FS
+
var myargs argv
func main() {
@@ -34,6 +39,7 @@ func main() {
os.Unsetenv("GO111MODULE")
me.myGui = gui.New()
+ me.myGui.InitEmbed(resources)
me.myGui.Default()
// our main window