mirror of
https://github.com/mintty/wsltty.git
synced 2025-01-18 03:55:49 +00:00
supported update installation into selected folder (#359)
This commit is contained in:
parent
033d9aceb2
commit
6261ec43ec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user