diff --git a/README.md b/README.md index 6e4d78f..095c31e 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ A Windows Appx package and certificate is available in the [wsltty.appx](https:/ WSLtty can be invoked with * installed Start Menu shortcuts (or Desktop shortcuts if copied there) -* *.bat scripts +* *.bat scripts (optionally with WSL command as parameters) * Explorer context menu (if installed from the Start Menu `WSLtty` subfolder) Starting the mintty terminal directly from the WSLtty installation location diff --git a/config-distros.sh b/config-distros.sh index 722d000..c6a2eae 100755 --- a/config-distros.sh +++ b/config-distros.sh @@ -97,7 +97,7 @@ echo Creating %1.bat echo @echo off> %1.bat echo rem Start mintty terminal for WSL package %name% in current directory>> %1.bat -echo %target% -i "%icon%" %minttyargs% %bridgeargs%>> %1.bat +echo %target% -i "%icon%" %minttyargs% %bridgeargs% %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9>> %1.bat /EOB fi @@ -167,11 +167,11 @@ do echoc "- icon $icon" echoc "- root $root" target="$installdir"'\bin\mintty.exe' - bridgeargs=" " + bridgeargs="" # deprecated if $ok && $config then - export target minttyargs bridgeargs icon + export name target minttyargs bridgeargs icon if $contextmenu then