path to plugin files
| 83 | |
| 84 | // path to plugin files |
| 85 | std::string pluginPath(const std::string& dirname) { |
| 86 | // no bundlePath set, assume local source build |
| 87 | if (bundlePath.empty()) |
| 88 | return system::join(systemDir, "..", "..", "plugins", dirname); |
| 89 | // bundlePath is present, use resources from bundle |
| 90 | return system::join(systemDir, dirname); |
| 91 | } |
| 92 | |
| 93 | } |
| 94 | } |
no test coverage detected