Run $WINELOADER --version under the correct env

This makes the initialization message reflect the correct Wine version
when using a `WINELOADER` script to change between Wine versions
depending on the Wine prefix.
This commit is contained in:
Robbert van der Helm
2021-06-21 13:00:05 +02:00
parent b81871e4bf
commit 466fe3abcf
4 changed files with 59 additions and 46 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ class PluginBridge {
info.wine_prefix);
init_msg << "'" << std::endl;
init_msg << "wine version: '" << get_wine_version() << "'"
init_msg << "wine version: '" << info.wine_version() << "'"
<< std::endl;
init_msg << std::endl;