1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-01-18 12:05:47 +00:00

supported update installation into selected folder (#359)

This commit is contained in:
mintty 2024-11-22 00:00:00 +01:00
parent 033d9aceb2
commit 6261ec43ec

View File

@ -4,6 +4,7 @@ set sel="Select folder to place installation of portable wsltty"
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%
if "%f%"=="" (
echo no installation