Jelajahi Sumber

Introduce JVM property for the SVG image loading path

Ralph Plawetzki 1 tahun lalu
induk
melakukan
c8ed30574a
2 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 1 0
      .github/workflows/appimage.yml
  2. 1 0
      dist/linux/appimage/build.sh

+ 1 - 0
.github/workflows/appimage.yml

@@ -92,6 +92,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.appIndicator.svgSource=\"/usr/share/icons/hicolor/symbolic/apps\""
           --java-options "-Dcryptomator.buildNumber=\"appimage-${{  needs.get-version.outputs.revNum }}\""
           --add-launcher Cryptomator-gtk2=launcher-gtk2.properties
           --resource-dir dist/linux/resources

+ 1 - 0
dist/linux/appimage/build.sh

@@ -56,6 +56,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.appIndicator.svgSource=\"/usr/share/icons/hicolor/symbolic/apps\"" \
     --java-options "-Dcryptomator.buildNumber=\"appimage-${REVISION_NO}\"" \
     --add-launcher cryptomator-gtk2=launcher-gtk2.properties \
     --resource-dir ../resources