mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-16 18:50:19 +00:00
Merge pull request #116 from ZoiteChat/appimage-workflow-fixes
Appimage workflow fixes
This commit is contained in:
13
.github/workflows/appimage-build.yml
vendored
13
.github/workflows/appimage-build.yml
vendored
@@ -156,11 +156,20 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "$APPDIR/usr/lib/x86_64-linux-gnu/gio/modules" ]; then
|
if [ -d "$APPDIR/usr/lib/x86_64-linux-gnu/gio/modules" ]; then
|
||||||
export GIO_EXTRA_MODULES="$APPDIR/usr/lib/x86_64-linux-gnu/gio/modules${GIO_EXTRA_MODULES:+:$GIO_EXTRA_MODULES}"
|
gio_module_dir="$APPDIR/usr/lib/x86_64-linux-gnu/gio/modules"
|
||||||
elif [ -d "$APPDIR/usr/lib/gio/modules" ]; then
|
elif [ -d "$APPDIR/usr/lib/gio/modules" ]; then
|
||||||
export GIO_EXTRA_MODULES="$APPDIR/usr/lib/gio/modules${GIO_EXTRA_MODULES:+:$GIO_EXTRA_MODULES}"
|
gio_module_dir="$APPDIR/usr/lib/gio/modules"
|
||||||
|
else
|
||||||
|
gio_module_dir=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$gio_module_dir" ]; then
|
||||||
|
export GIO_MODULE_DIR="$gio_module_dir"
|
||||||
|
export GIO_EXTRA_MODULES="$gio_module_dir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
unset GTK_MODULES
|
||||||
|
|
||||||
export PYTHONHOME="$APPDIR/usr"
|
export PYTHONHOME="$APPDIR/usr"
|
||||||
python_stdlib_dir="$(find "$APPDIR/usr/lib" -maxdepth 1 -type d -name 'python3.*' | head -n 1 || true)"
|
python_stdlib_dir="$(find "$APPDIR/usr/lib" -maxdepth 1 -type d -name 'python3.*' | head -n 1 || true)"
|
||||||
pythonpath_entries=""
|
pythonpath_entries=""
|
||||||
|
|||||||
Reference in New Issue
Block a user