diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2021-07-15 03:39:25 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2021-07-29 10:42:06 -0400 |
| commit | 1a4a0f56dc17e68e5743fa3a550b46992ec461e1 (patch) | |
| tree | 33fbee198f54af7fa173a016b3ef71b3c7e49e28 /python/pluginmanager.py | |
| parent | c08ddcab02433cb5078b6cfea11bf972e47b3169 (diff) | |
support for repository plugins loaded from a subdirectory
Diffstat (limited to 'python/pluginmanager.py')
| -rw-r--r-- | python/pluginmanager.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/pluginmanager.py b/python/pluginmanager.py index 15b98b55..31e63620 100644 --- a/python/pluginmanager.py +++ b/python/pluginmanager.py @@ -50,6 +50,11 @@ class RepoPlugin(object): return core.BNPluginGetPath(self.handle) @property + def subdir(self): + """Optional sub-directory the plugin code lives in as a relative path from the plugin root""" + return core.BNPluginGetSubdir(self.handle) + + @property def dependencies(self): """Dependencies required for installing this plugin""" return core.BNPluginGetDependencies(self.handle) |
