Open
Description
Hello.
I'm trying to compile code for windows from MacOS and Linux and I've got an error:
app.Enable undefined (type *autostart.App has no field or method Enable)
My code:
if runtime.GOOS == "windows" {
exe, _ := os.Executable()
app := &autostart.App{
Name: "test",
DisplayName: "test",
Exec: []string{exe},
}
app.Enable()
}
Metadata
Metadata
Assignees
Labels
No labels