More mini details
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
a53f15af77
commit
0da7070886
5 changed files with 19 additions and 4 deletions
|
@ -346,7 +346,10 @@ Initializer::Initializer(const CardinalBasePlugin* const plugin, const CardinalB
|
|||
if (asset::systemDir.empty())
|
||||
{
|
||||
if (const char* const bundlePath = (plugin != nullptr ? plugin->getBundlePath() :
|
||||
ui != nullptr ? ui->getBundlePath() : nullptr))
|
||||
#if DISTRHO_PLUGIN_HAS_UI
|
||||
ui != nullptr ? ui->getBundlePath() :
|
||||
#endif
|
||||
nullptr))
|
||||
{
|
||||
if (const char* const resourcePath = getResourcePath(bundlePath))
|
||||
{
|
||||
|
@ -399,8 +402,10 @@ Initializer::Initializer(const CardinalBasePlugin* const plugin, const CardinalB
|
|||
INFO("Binary filename: %s", getBinaryFilename());
|
||||
if (plugin != nullptr) {
|
||||
INFO("Bundle path: %s", plugin->getBundlePath());
|
||||
#if DISTRHO_PLUGIN_HAS_UI
|
||||
} else if (ui != nullptr) {
|
||||
INFO("Bundle path: %s", ui->getBundlePath());
|
||||
#endif
|
||||
}
|
||||
INFO("System directory: %s", asset::systemDir.c_str());
|
||||
INFO("User directory: %s", asset::userDir.c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue