CarlosNZ Posted January 31, 2013 Share Posted January 31, 2013 I guess this is a question that only Andrew can answer, but maybe David F or Vero might be able to weigh in. I just wonder if someone can confirm whether the folder that the workflow installs itself into is a random string, or is there something more systematic to it? I know that now, whenever I install/uninstall/re-install a workflow, it gets put into a folder like "user.workflow.155A5E43-853F-41C3-B8F4-AE4CF9C84992", and it's different every time, so it seems random. I'm just wondering if this is how it is always going to be, or if the final 2.0 release intends to "standardise" this so that the workflow folder name gets generated from the bundleID, and so will always be the same for re-installs of the same extension. It's just that I've noticed with my EggTimer workflow, I've made it generate a config file (stored in Application Data/....etc.) that stores the workflow's location so that certain other routines will be able to find the scripts. However, if I delete then re-install the workflow, this config file is now wrong and some things don't work. I guess what I'm asking (in my roundabout way ) is: should I bother adding in some extra code to check this path and update it if necessary, or will this be a non-issue in later releases? Of course, if deleting the workflow in Alfred also deleted the working folders (which it probably should, and I believe Andrew said something to this effect somewhere), then this won't be a problem either. Would be good to know what the plan is here. Link to comment
BrianGilbert_ Posted January 31, 2013 Share Posted January 31, 2013 If your using php then you can store the file using the data location when using David F's workflows.php include: https://github.com/jdfwarrior/Workflows Link to comment
Andrew Posted January 31, 2013 Share Posted January 31, 2013 By the time v2 is finished (if I get time), if you set a bundle ID, the folder will be the same as the bundle ID and not a generated UID CarlosNZ 1 Link to comment
CarlosNZ Posted January 31, 2013 Author Share Posted January 31, 2013 By the time v2 is finished (if I get time), if you set a bundle ID, the folder will be the same as the bundle ID and not a generated UID Great. Just what I needed to know. Thanks Andrew. Edit: Apologies. I only just noticed that the workflow forum has been split into two. This should really have gone into the other one. My bad. [Mod: No problem, moved it over for you!] Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now