1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-01-18 03:55:49 +00:00

portable installation supports Unicode folder names

This commit is contained in:
mintty 2024-11-23 00:00:00 +01:00
parent 05a439b5b0
commit d7b4840c92

View File

@ -5,6 +5,7 @@ echo Select target folder in popup dialog ...
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
set instdir=%f%\wsltty
if exist %f%\LICENSE.mintty set instdir=%f%