yabridge, yabridgectl: hard code wine path

This commit is contained in:
Kira Bruneau
2021-04-27 15:27:47 -04:00
parent 79cb2cb986
commit 9cbe07c1b2
4 changed files with 58 additions and 3 deletions
@@ -0,0 +1,13 @@
diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp
index 1ff05bc..0723456 100644
--- a/src/plugin/utils.cpp
+++ b/src/plugin/utils.cpp
@@ -351,7 +351,7 @@ std::string get_wine_version() {
access(wineloader_path.c_str(), X_OK) == 0) {
wine_path = wineloader_path;
} else {
- wine_path = bp::search_path("wine").string();
+ wine_path = "@wine@/bin/wine";
}
bp::ipstream output;