mirror of
https://github.com/mintty/wsltty.git
synced 2025-01-18 20:10:58 +00:00
remove "-h err" from scripts, shortcuts, context menu (#79)
This commit is contained in:
parent
84c16fb927
commit
4ce4b11094
@ -140,8 +140,8 @@ do
|
|||||||
root="$basepath"
|
root="$basepath"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
minttyargs='--wsl --rootfs="'"$root"'" -h err --configdir="%APPDATA%\wsltty" -o Locale=C -o Charset=UTF-8 /bin/wslbridge '
|
minttyargs='--wsl --rootfs="'"$root"'" --configdir="%APPDATA%\wsltty" -o Locale=C -o Charset=UTF-8 /bin/wslbridge '
|
||||||
minttyargs='--WSL="'"$distro"'" -h err --configdir="%APPDATA%\wsltty"'
|
minttyargs='--WSL="'"$distro"'" --configdir="%APPDATA%\wsltty"'
|
||||||
#if [ -z "$launch" ]
|
#if [ -z "$launch" ]
|
||||||
#then bridgeargs='-t /bin/bash'
|
#then bridgeargs='-t /bin/bash'
|
||||||
#else bridgeargs='-l "'"$launch"'" -t /bin/bash'
|
#else bridgeargs='-l "'"$launch"'" -t /bin/bash'
|
||||||
@ -154,7 +154,7 @@ do
|
|||||||
distro=
|
distro=
|
||||||
name=WSL
|
name=WSL
|
||||||
icon="%LOCALAPPDATA%/wsltty/wsl.ico"
|
icon="%LOCALAPPDATA%/wsltty/wsl.ico"
|
||||||
minttyargs='--WSL= -h err --configdir="%APPDATA%\wsltty"'
|
minttyargs='--WSL= --configdir="%APPDATA%\wsltty"'
|
||||||
bridgeargs='-t'
|
bridgeargs='-t'
|
||||||
|
|
||||||
ok=true;;
|
ok=true;;
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
rem cscript mkshortcut.vbs [/param:arg] /target:link
|
rem cscript mkshortcut.vbs [/param:arg] /target:link
|
||||||
|
|
||||||
rem %
|
|
||||||
rem /arguments:--wsl -h err -o Locale=C -o Charset=UTF-8 /bin/wslbridge -t /bin/bash
|
|
||||||
rem ~
|
|
||||||
rem /arguments:--wsl -h err -o Locale=C -o Charset=UTF-8 /bin/wslbridge -C~ -t /bin/bash
|
|
||||||
rem -l
|
|
||||||
rem /arguments:--wsl -h err -o Locale=C -o Charset=UTF-8 /bin/wslbridge -t /bin/bash -l
|
|
||||||
rem /target:%LOCALAPPDATA%\wsltty\bin\mintty.exe
|
rem /target:%LOCALAPPDATA%\wsltty\bin\mintty.exe
|
||||||
rem /workingdir:%USERPROFILE%
|
rem /workingdir:%USERPROFILE%
|
||||||
rem rem /icon:%LOCALAPPDATA%\lxss\bash.ico
|
|
||||||
rem /icon:%LOCALAPPDATA%\wsltty\wsl.ico
|
rem /icon:%LOCALAPPDATA%\wsltty\wsl.ico
|
||||||
|
rem deprecated: /icon:%LOCALAPPDATA%\lxss\bash.ico
|
||||||
|
rem deprecated: %
|
||||||
|
rem /arguments:--wsl -o Locale=C -o Charset=UTF-8 /bin/wslbridge -t /bin/bash
|
||||||
|
rem deprecated: ~
|
||||||
|
rem /arguments:--wsl -o Locale=C -o Charset=UTF-8 /bin/wslbridge -C~ -t /bin/bash
|
||||||
|
rem deprecated: -l
|
||||||
|
rem /arguments:--wsl -o Locale=C -o Charset=UTF-8 /bin/wslbridge -t /bin/bash -l
|
||||||
|
|
||||||
rem General - Name:
|
rem General - Name:
|
||||||
name = Wscript.Arguments.Named("name") & ".lnk"
|
name = Wscript.Arguments.Named("name") & ".lnk"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user