mirror of
				https://github.com/mintty/wsltty.git
				synced 2025-11-04 09:01:52 +00:00 
			
		
		
		
	portable installation supports Unicode folder names
This commit is contained in:
		@@ -5,6 +5,7 @@ echo Select target folder in popup dialog ...
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
set sel="Select folder to place installation of portable wsltty"
 | 
					set sel="Select folder to place installation of portable wsltty"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					chcp 65001 > nul
 | 
				
			||||||
for /f "usebackq delims=" %%f in (`powershell "(new-object -COM Shell.Application).BrowseForFolder(0, '%sel%', 0, 0).self.path"`) do set f=%%f
 | 
					for /f "usebackq delims=" %%f in (`powershell "(new-object -COM Shell.Application).BrowseForFolder(0, '%sel%', 0, 0).self.path"`) do set f=%%f
 | 
				
			||||||
set instdir=%f%\wsltty
 | 
					set instdir=%f%\wsltty
 | 
				
			||||||
if exist %f%\LICENSE.mintty set instdir=%f%
 | 
					if exist %f%\LICENSE.mintty set instdir=%f%
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user