From a2fc3d5b7127db6fc7247819efb29364328184d2 Mon Sep 17 00:00:00 2001 From: black-sliver <59490463+black-sliver@users.noreply.github.com> Date: Fri, 3 Jun 2022 02:00:21 +0200 Subject: [PATCH] AppImage: better compatibility * old startup script did not work with dash * add missing libcrypt in cx_freeze --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 78c54e81..dd7acecf 100644 --- a/setup.py +++ b/setup.py @@ -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,