Print library path in the initialization message

This is useful when chainloading, since it now tells you where eactly
it's loading the library from.
This commit is contained in:
Robbert van der Helm
2022-04-16 19:35:34 +02:00
parent d73a0041eb
commit 6f16eb5c76
2 changed files with 6 additions and 1 deletions
+3 -1
View File
@@ -26,6 +26,7 @@
#include <version.h>
#include "../../common/configuration.h"
#include "../../common/linking.h"
#include "../../common/notifications.h"
#include "../../common/utils.h"
#include "../host-process.h"
@@ -142,7 +143,8 @@ class PluginBridge {
<< " (32-bit build)"
#endif
<< std::endl;
// TODO: Show this library's path now that we're chainloading
init_msg << "library: '" << get_this_file_location().string()
<< "'" << std::endl;
init_msg << "host: '" << plugin_host_->path().string() << "'"
<< std::endl;
init_msg << "plugin: '" << info_.windows_plugin_path_.string()