fix active_bottle being set to a bogus bottle location
This commit is contained in:
parent
54a1d35556
commit
2e1217adf3
@ -93,7 +93,7 @@ int main(int argc, char* argv[]) {
|
|||||||
bottles::active_bottle = bottles::Bottle(env_wineprefix);
|
bottles::active_bottle = bottles::Bottle(env_wineprefix);
|
||||||
} else {
|
} else {
|
||||||
string homepath = getenv("HOME");
|
string homepath = getenv("HOME");
|
||||||
string fullbottlepath = homepath + "/.local/share/cellar/bottles/" + bottlearg.getValue();
|
string fullbottlepath = homepath + "/.wine";
|
||||||
bottles::active_bottle = bottles::Bottle(fullbottlepath);
|
bottles::active_bottle = bottles::Bottle(fullbottlepath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user