Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX authored Nov 16, 2023
1 parent a5e85a5 commit 25481c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH+"${LD_LIBRARY_PATH}:"}"$APP_DIR/usr/lib
check_run "$LINUXDEPLOY_BIN" --appdir "$APP_DIR" -i "$BUILD_DIR/mcpelauncher-ui-qt.svg" -d "$BUILD_DIR/mcpelauncher-ui-qt.desktop"

export QML_SOURCES_PATHS="$SOURCE_DIR/mcpelauncher-ui/mcpelauncher-ui-qt/qml/:$SOURCE_DIR/mcpelauncher/mcpelauncher-webview"
if [ -z "$MSA_QT6_OPT" ]
if [ -n "$MSA_QT6_OPT" ]
then
export EXTRA_PLATFORM_PLUGINS="libqwayland-egl.so;libqwayland-generic.so"
export EXTRA_QT_PLUGINS="wayland-decoration-client;wayland-graphics-integration-client;wayland-shell-integration"
Expand All @@ -271,7 +271,7 @@ fi
check_run "$LINUXDEPLOY_PLUGIN_QT_BIN" --appdir "$APP_DIR"

# Bookworm AppImage doesn't have it anymore?
if [ -n "$MSA_QT6_OPT" ]
if [ -z "$MSA_QT6_OPT" ]
then
# libnss needs it's subdirectory to load the google login view
check_run cp -r "/usr/lib/$DEBIANTARGET/nss" "$APP_DIR/usr/lib/"
Expand Down

0 comments on commit 25481c2

Please sign in to comment.