File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# runx: Provide an X server in Cygwin, MSYS2 or WSL.
3
3
4
- Version=" v0.4.15 "
4
+ Version=" v0.4.16 "
5
5
6
6
usage () { # Usage information (--help)
7
7
echo " runx - Run Linux GUI applications on MS Windows.
@@ -515,13 +515,14 @@ setup_cookie() { # Generate X authentication cookie
515
515
[ -e /usr/X11R6/bin/xauth ] || {
516
516
mkdir -p /usr/X11R6/bin
517
517
echo " #! /bin/bash
518
- $Xauthbin \" $@ \"
518
+ $( escapestring " $ Xauthbin" ) \" $@ \"
519
519
" > /usr/X11R6/bin/xauth
520
520
}
521
521
;;
522
522
esac
523
523
524
524
[ -e " $Xauthbin " ] && {
525
+ Xauthbin=" $( escapestring " $Xauthbin " ) "
525
526
grep -q " /usr/bin" <<< " $Xauthbin" && Xauthsystem=" subsystem" || Xauthsystem=" windows"
526
527
# generate fresh cookie
527
528
$Xauthbin -i -f " $( convertpath $Xauthsystem " $Xcookie " ) " add :$Newdisplaynumber . $( mcookie)
You can’t perform that action at this time.
0 commit comments