AppImage: better compatibility

* old startup script did not work with dash
* add missing libcrypt in cx_freeze
This commit is contained in:
black-sliver 2022-06-03 02:00:21 +02:00 committed by Fabian Dill
parent c66d64b9d8
commit a2fc3d5b71
1 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@ match="${{1#--executable=}}"
if [ "${{#match}}" -lt "${{#1}}" ]; then
exe="$match"
shift
elif [ "$1" == "-executable" ] || [ "$1" == "--executable" ]; then
elif [ "$1" = "-executable" ] || [ "$1" = "--executable" ]; then
exe="$2"
shift; shift
fi
@ -355,7 +355,7 @@ cx_Freeze.setup(
"optimize": 1,
"build_exe": buildfolder,
"extra_data": extra_data,
"bin_includes": [] if is_windows else ["libffi.so"]
"bin_includes": [] if is_windows else ["libffi.so", "libcrypt.so"]
},
"bdist_appimage": {
"build_folder": buildfolder,