diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml
index 5472edff9..0bd01fe60 100644
--- a/.github/workflows/appimage.yml
+++ b/.github/workflows/appimage.yml
@@ -67,6 +67,7 @@ jobs:
REVISION_NUM: ${{ needs.get-version.outputs.revNum }}
- name: Run jpackage
run: >
+ TRAYICONSDIR="@{appdir}/usr/share/icons/hicolor/symbolic/apps"
${JAVA_HOME}/bin/jpackage
--verbose
--type app-image
@@ -92,7 +93,7 @@ jobs:
--java-options "-Dcryptomator.ipcSocketPath=\"~/.config/Cryptomator/ipc.socket\""
--java-options "-Dcryptomator.mountPointsDir=\"~/.local/share/Cryptomator/mnt\""
--java-options "-Dcryptomator.showTrayIcon=false"
- --java-options "-Dcryptomator.integrationsLinux.trayIconsDir=\"/usr/share/icons/hicolor/symbolic/apps\""
+ --java-options "-Dcryptomator.integrationsLinux.trayIconsDir=\"${TRAYICONSDIR}\"" \
--java-options "-Dcryptomator.buildNumber=\"appimage-${{ needs.get-version.outputs.revNum }}\""
--add-launcher Cryptomator-gtk2=launcher-gtk2.properties
--resource-dir dist/linux/resources
diff --git a/dist/linux/appimage/build.sh b/dist/linux/appimage/build.sh
index 6bf536ca8..1374bd329 100755
--- a/dist/linux/appimage/build.sh
+++ b/dist/linux/appimage/build.sh
@@ -32,6 +32,7 @@ ${JAVA_HOME}/bin/jlink \
# create app dir
envsubst '${SEMVER_STR} ${REVISION_NUM}' < ../launcher-gtk2.properties > launcher-gtk2.properties
+TRAYICONSDIR="@{appdir}/usr/share/icons/hicolor/symbolic/apps"
${JAVA_HOME}/bin/jpackage \
--verbose \
--type app-image \
@@ -56,7 +57,7 @@ ${JAVA_HOME}/bin/jpackage \
--java-options "-Dcryptomator.ipcSocketPath=\"~/.config/Cryptomator/ipc.socket\"" \
--java-options "-Dcryptomator.mountPointsDir=\"~/.local/share/Cryptomator/mnt\"" \
--java-options "-Dcryptomator.showTrayIcon=false" \
- --java-options "-Dcryptomator.integrationsLinux.trayIconsDir=\"/usr/share/icons/hicolor/symbolic/apps\"" \
+ --java-options "-Dcryptomator.integrationsLinux.trayIconsDir=\"${TRAYICONSDIR}\"" \
--java-options "-Dcryptomator.buildNumber=\"appimage-${REVISION_NO}\"" \
--add-launcher cryptomator-gtk2=launcher-gtk2.properties \
--resource-dir ../resources
diff --git a/dist/linux/debian/rules b/dist/linux/debian/rules
index a5e118a63..3b03857bc 100755
--- a/dist/linux/debian/rules
+++ b/dist/linux/debian/rules
@@ -55,6 +55,7 @@ override_dh_auto_build:
--java-options "-Dcryptomator.ipcSocketPath=\"~/.config/Cryptomator/ipc.socket\"" \
--java-options "-Dcryptomator.mountPointsDir=\"~/.local/share/Cryptomator/mnt\"" \
--java-options "-Dcryptomator.showTrayIcon=false" \
+ --java-options "-Dcryptomator.integrationsLinux.trayIconsDir=\"/usr/share/icons/hicolor/symbolic/apps\"" \
--java-options "-Dcryptomator.buildNumber=\"deb-${REVISION_NUM}\"" \
--java-options "-Dcryptomator.appVersion=\"${SEMVER_STR}\"" \
--app-version "${VERSION_NUM}.${REVISION_NUM}" \
diff --git a/pom.xml b/pom.xml
index 14674b42f..e31960273 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,7 +37,7 @@
1.3.0-beta1
1.2.0
1.2.0
- 1.3.0-beta3
+ 1.3.0-beta4
3.0.0
2.0.0
2.0.3