-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working for Alfred 5 #82
Comments
For the time being, I'm working around this with: func InfoWithVersion(v int) build.Option {
return func(i *build.Info) {
i.AlfredMajorVersion = v
}
}
func init() {
var err error
if info, err = build.NewInfo(InfoWithVersion(5)); err != nil {
panic(err)
}
} If it works well enough with Additionally, this can be worked around with no code change and setting the version in the environment before running the build. Eg. |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like the library determines that Version 4 is being used because we're using the non-numbered Alfred folder. This folder is apparently used for all new versions.
Two possible fixes:
I'm leaning towards the latter.
The text was updated successfully, but these errors were encountered: