Jump to content

Expose workflow version as environment variable


Recommended Posts

+1

 

Not much of a value proposition to having a version number in Alfred if it isn't available via environment variables, IMO.

 

When Alfred added environment variables, it made it possible to write workflows without parsing info.plist (to figure out data and cache directories, for example).

 

Utilising the Workflow Version set in Alfred means that you have to go back to parsing info.plist again, which is a significant regression in terms of complexity and performance overhead compared to what people are currently doing. Basically, writing workflows like it's 2013.

 

It also means that, no, you can't forget about XML in Alfred 3 :(

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...