Allow python extensions to be loaded from app folder as well as user

* This will let us distribute extensions with the renderdoc builds.
This commit is contained in:
baldurk committed 2020-11-10 13:57:27 +00:00
1 parent bd5b79bd3a
commit 804fddcdf7
3 files changed
+152 -131

No files matched your search

@@ -55,6 +55,7 @@ public:
static void GlobalInit();
static void GlobalShutdown();
static QStringList GetApplicationExtensionsPaths();
static void ProcessExtensionWork(std::function<void()> callback);
static bool LoadExtension(ICaptureContext &ctx, const rdcstr &extension);
static void ConvertPyArgs(const ExtensionCallbackData &data,