fix make-sfx.sh on windows/msys2

This commit is contained in:
ed 2022-08-03 20:01:54 +02:00
parent f05cc18d61
commit cf51997680

View file

@ -26,6 +26,11 @@ help() { exec cat <<'EOF'
# (browsers will try to use 'Consolas' instead) # (browsers will try to use 'Consolas' instead)
# #
# `no-dd` saves ~2k by removing the mouse cursor # `no-dd` saves ~2k by removing the mouse cursor
#
# ---------------------------------------------------------------------
#
# if you are on windows, you can use msys2:
# PATH=/c/Users/$USER/AppData/Local/Programs/Python/Python310:"$PATH" ./make-sfx.sh fast
EOF EOF
} }
@ -190,7 +195,7 @@ tmpdir="$(
done done
# remove type hints before build instead # remove type hints before build instead
(cd copyparty; python3 ../../scripts/strip_hints/a.py; rm uh) (cd copyparty; "$pybin" ../../scripts/strip_hints/a.py; rm uh)
} }
ver= ver=