diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2,6 +2,7 @@ package main import ( + "embed" "os" "path/filepath" @@ -20,6 +21,9 @@ var cBox *controlBox // this is a basic window. the user can open and close it var basicWindow *gadgets.BasicWindow +//go:embed resources/* +var resources embed.FS + func main() { if argv.Repo == "" { log.Info("You need to tell me what repo you want to work on") @@ -28,6 +32,7 @@ func main() { os.Exit(0) } myGui = gui.New() + myGui.InitEmbed(resources) myGui.Default() basicWindow = makebasicWindow() |
