From 6261ec43ec8d982648ea41e5b57168ea98894098 Mon Sep 17 00:00:00 2001 From: mintty Date: Fri, 22 Nov 2024 00:00:00 +0100 Subject: [PATCH] supported update installation into selected folder (#359) --- install-portable.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/install-portable.bat b/install-portable.bat index d13a91d..0e604d5 100755 --- a/install-portable.bat +++ b/install-portable.bat @@ -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