Test fix for native Zenity on Windows
This commit is contained in:
parent
bd960a699b
commit
e91c6b42f9
1 changed files with 3 additions and 1 deletions
4
shcrt
4
shcrt
|
@ -26,7 +26,9 @@ function is_wsl {
|
||||||
}
|
}
|
||||||
|
|
||||||
if is_wsl; then
|
if is_wsl; then
|
||||||
alias zenity=zenity.exe
|
function zenity {
|
||||||
|
zenity.exe "$@" | tr -d '\r'
|
||||||
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Determine script location
|
# Determine script location
|
||||||
|
|
Loading…
Reference in a new issue