From 81ab8b7803117851c9c057afe7257392909d3118 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Wed, 21 Jul 2021 12:39:51 +0200 Subject: [PATCH] adjust AppImage build instructions to new jpackage directory structure --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index baf535924..559821998 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -234,7 +234,7 @@ jobs: ls -lR Cryptomator mv Cryptomator Cryptomator.AppDir cp -r dist/appimage/resources/AppDir/* Cryptomator.AppDir/ - chmod +x Cryptomator.AppDir/runtime/bin/java + chmod +x Cryptomator.AppDir/lib/runtime/bin/java envsubst '${REVISION_NO}' < dist/appimage/resources/AppDir/bin/cryptomator.sh > Cryptomator.AppDir/bin/cryptomator.sh ln -s usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/org.cryptomator.Cryptomator.svg ln -s usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/Cryptomator.svg @@ -245,9 +245,9 @@ jobs: REVISION_NO: ${{ needs.metadata.outputs.revNum }} - name: Extract libjffi.so # workaround for https://github.com/cryptomator/cryptomator-linux/issues/27 run: | - JFFI_NATIVE_JAR=`ls libs/ | grep -e 'jffi-[1-9]\.[0-9]\{1,2\}.[0-9]\{1,2\}-native.jar'` - ${JAVA_HOME}/bin/jar -xf libs/${JFFI_NATIVE_JAR} /jni/x86_64-Linux/ - mv jni/x86_64-Linux/* libs/libjffi.so + JFFI_NATIVE_JAR=`ls lib/app/ | grep -e 'jffi-[1-9]\.[0-9]\{1,2\}.[0-9]\{1,2\}-native.jar'` + ${JAVA_HOME}/bin/jar -xf lib/app/${JFFI_NATIVE_JAR} /jni/x86_64-Linux/ + mv jni/x86_64-Linux/* lib/app/libjffi.so working-directory: Cryptomator.AppDir - name: Download AppImageKit run: |