minor adjustments

[ci skip]
This commit is contained in:
Sebastian Stenzel
2021-07-22 14:36:02 +02:00
parent 3563ed3394
commit e85a989e44
2 changed files with 4 additions and 4 deletions

View File

@@ -215,11 +215,11 @@ jobs:
#
# Linux AppImage
# Linux Cryptomator.AppImage
#
linux-appimage:
name: Build AppImage
name: Build Cryptomator.AppImage
runs-on: ubuntu-latest
needs: [appdir, metadata]
steps:

View File

@@ -43,11 +43,11 @@ ${JAVA_HOME}/bin/jpackage \
--java-options "-Dcryptomator.mountPointsDir=\"~/.local/share/Cryptomator/mnt\"" \
--java-options "-Dcryptomator.showTrayIcon=false" \
--java-options "-Dcryptomator.buildNumber=\"appimage-${{ needs.metadata.outputs.revNum }}\"" \
--resource-dir ../appdir/linux/resources
--resource-dir ../resources
# transform AppDir
mv Cryptomator Cryptomator.AppDir
cp -r dist/appimage/resources/AppDir/* Cryptomator.AppDir/
cp -r dist/linux/appimage/resources/AppDir/* Cryptomator.AppDir/
chmod +x Cryptomator.AppDir/lib/runtime/bin/java
envsubst '${REVISION_NO}' < 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