Brad Posted July 27, 2022 Report Share Posted July 27, 2022 Just a note: I spent a good amount of time today chasing my tail around re: how ftrack-application-launcher actually works. And in the end, I've found a rather critical piece of information is missing from the docs. tldr: FTRACK_APPLICATION_LAUNCHER_CONFIG_PATHS needs to be documented so we might know how to actually provide configuration files without having to modify the plugin itself. explanation: ftrack / ftrack-application-launcher / resource / hook / application_launcher.py — Bitbucket lines 27-31 tell all. consider the docs: Developing — ftrack-application-launcher 1.0.5 documentation They tell all about the syntax, but nothing about where the files should go. Eventaully you might discover the "config" directory within the plugin itself. However, that directory probably shouldn't be modified because after all, it's got a version number in it. Presumably, a new version of the plugin will have its own config directory. Your changes would be wiped out. Checking the source on bitbucket confirmed for me that by default, it just hardcodes that path (see line 25). But also, that there's an ENV var that can be used to at least specify some extra locations to search: FTRACK_APPLICATION_LAUNCHER_CONFIG_PATHS Link to comment Share on other sites More sharing options...
Lorenzo Angeli Posted July 29, 2022 Report Share Posted July 29, 2022 Hi @Brad, glad you find you way through the code and found out by yourself about the environment variable. You are right, original configs are better not to be touched due to update, and the env is there for you to customise the lauchers at your needs. We have now tracked this changes in docs and they will be updated for the next release . Cheers! L. Link to comment Share on other sites More sharing options...
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