mirror of
https://github.com/mintty/wsltty.git
synced 2025-10-31 23:21:59 +00:00
allow WSL commands as parameters to .bat invocation scripts (#147)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user