From fff5acda25dcb8556693416322084e1837e8bfa5 Mon Sep 17 00:00:00 2001 From: takase1121 <20792268+takase1121@users.noreply.github.com> Date: Mon, 25 Nov 2024 23:43:33 +0800 Subject: [PATCH] appimage.sh: temporarily fix the script to generate the appimage correctly --- scripts/appimage.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/appimage.sh b/scripts/appimage.sh index fe4d720..7bcaaf1 100644 --- a/scripts/appimage.sh +++ b/scripts/appimage.sh @@ -106,11 +106,12 @@ build_litexl() { echo "Build lite-xl..." sleep 1 if [[ $STATIC_BUILD == false ]]; then - meson setup --buildtype=$BUILD_TYPE --prefix=/usr ${BUILD_DIR} + meson setup --buildtype=$BUILD_TYPE --prefix=/usr -Dportable=false ${BUILD_DIR} else meson setup --wrap-mode=forcefallback \ --buildtype=$BUILD_TYPE \ --prefix=/usr \ + -Dportable=false \ ${BUILD_DIR} fi meson compile -C ${BUILD_DIR} @@ -128,12 +129,6 @@ generate_appimage() { cp resources/icons/lite-xl.svg LiteXL.AppDir/ cp resources/linux/org.lite_xl.lite_xl.desktop LiteXL.AppDir/ - # https://github.com/lite-xl/lite-xl/issues/1912 - mkdir -p ./LiteXL.AppDir/usr/share/../bin - mv ./LiteXL.AppDir/lite-xl ./LiteXL.AppDir/usr/bin - mv ./LiteXL.AppDir/data ./LiteXL.AppDir/usr/share/lite-xl - rm -rf ./LiteXL.AppDir/lib64 ./LiteXL.AppDir/include - echo "Creating AppRun..." cat >> LiteXL.AppDir/AppRun <<- 'EOF' #!/bin/sh