mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
AppImage: better compatibility
* old startup script did not work with dash * add missing libcrypt in cx_freeze
This commit is contained in:

committed by
Fabian Dill

parent
c66d64b9d8
commit
a2fc3d5b71
4
setup.py
4
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,
|
||||
|
Reference in New Issue
Block a user