mirror of
https://github.com/mintty/wsltty.git
synced 2025-02-07 13:41:07 +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 () {
|
delete () {
|
||||||
from=/F
|
from="$1"
|
||||||
to="$1"
|
to="$1" # same again, to fill parameter
|
||||||
export from to
|
export from to
|
||||||
cmd /c cmd2.bat del
|
cmd /c cmd2.bat del/F
|
||||||
}
|
}
|
||||||
|
|
||||||
compare () {
|
compare () {
|
||||||
@ -291,7 +291,7 @@ config () {
|
|||||||
echoc "- root $root"
|
echoc "- root $root"
|
||||||
wdir=%USERPROFILE%
|
wdir=%USERPROFILE%
|
||||||
|
|
||||||
if $ok && [ -n "$distro" ]
|
if $ok && ! $remove && [ -n "$distro" ]
|
||||||
then # fix #163: backend missing +x with certain mount options
|
then # fix #163: backend missing +x with certain mount options
|
||||||
echo Setting +x wslbridge2 backends for distro "'$distro'"
|
echo Setting +x wslbridge2 backends for distro "'$distro'"
|
||||||
(cd "$INSTDIR"; cd bin; PATH="${WINDIR}/Sysnative:${PATH}" wsl.exe -d "$distro" chmod +x wslbridge2-backend)
|
(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