MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / pluginPath

Function pluginPath

src/custom/asset.cpp:85–91  ·  view source on GitHub ↗

path to plugin files

Source from the content-addressed store, hash-verified

83
84// path to plugin files
85std::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}

Callers 2

StaticPluginLoaderMethod · 0.85
StaticPluginLoaderMethod · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected