path to plugin manifest
| 74 | |
| 75 | // path to plugin manifest |
| 76 | std::string pluginManifest(const std::string& dirname) { |
| 77 | // no bundlePath set, assume local source build |
| 78 | if (bundlePath.empty()) |
| 79 | return system::join(systemDir, "..", "..", "plugins", dirname, "plugin.json"); |
| 80 | // bundlePath is present, use resources from bundle |
| 81 | return system::join(bundlePath, dirname + ".json"); |
| 82 | } |
| 83 | |
| 84 | // path to plugin files |
| 85 | std::string pluginPath(const std::string& dirname) { |
no test coverage detected