mirror of
https://github.com/mintty/wsltty.git
synced 2025-01-18 12:05:47 +00:00
uninstall: skip backend stuff, fix del parameters (~#263)
This commit is contained in:
parent
6c5a0f1fba
commit
105d0b4ec5
@ -14,10 +14,10 @@ copy () {
|
||||
}
|
||||
|
||||
delete () {
|
||||
from=/F
|
||||
to="$1"
|
||||
from="$1"
|
||||
to="$1" # same again, to fill parameter
|
||||
export from to
|
||||
cmd /c cmd2.bat del
|
||||
cmd /c cmd2.bat del/F
|
||||
}
|
||||
|
||||
compare () {
|
||||
@ -291,7 +291,7 @@ config () {
|
||||
echoc "- root $root"
|
||||
wdir=%USERPROFILE%
|
||||
|
||||
if $ok && [ -n "$distro" ]
|
||||
if $ok && ! $remove && [ -n "$distro" ]
|
||||
then # fix #163: backend missing +x with certain mount options
|
||||
echo Setting +x wslbridge2 backends for distro "'$distro'"
|
||||
(cd "$INSTDIR"; cd bin; PATH="${WINDIR}/Sysnative:${PATH}" wsl.exe -d "$distro" chmod +x wslbridge2-backend)
|
||||
|
Loading…
x
Reference in New Issue
Block a user