fix -b argument not using new bottle path
This commit is contained in:
		@@ -93,7 +93,7 @@ int main(int argc, char* argv[]) {
 | 
			
		||||
                bottles::active_bottle = bottles::Bottle(env_wineprefix);
 | 
			
		||||
            } else {
 | 
			
		||||
                string homepath = getenv("HOME");
 | 
			
		||||
                string fullbottlepath = homepath + "/.wine";
 | 
			
		||||
                string fullbottlepath = homepath + "/.local/share/cellar/bottles/" + bottlearg.getValue();
 | 
			
		||||
                bottles::active_bottle = bottles::Bottle(fullbottlepath);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user