diff --git a/build.xml b/build.xml index 06d349ee..a02431ce 100644 --- a/build.xml +++ b/build.xml @@ -559,8 +559,6 @@ - - diff --git a/installer/snap/base/bin/filebot.sh b/installer/snap/base/bin/filebot.sh index a278fb68..81019524 100755 --- a/installer/snap/base/bin/filebot.sh +++ b/installer/snap/base/bin/filebot.sh @@ -2,7 +2,7 @@ export LANG="en_US.UTF-8" export LC_ALL="en_US.UTF-8" -export JAVA_HOME="$SNAP/jre" +export JAVA_HOME="$SNAP/usr/lib/jvm/java-@{jvm.version}-openjdk-amd64/bin/java" export FILEBOT_HOME="$SNAP/filebot" APP_DATA="$SNAP_USER_DATA/data" diff --git a/installer/snap/snapcraft.yaml b/installer/snap/snapcraft.yaml index 489debf1..6f758057 100644 --- a/installer/snap/snapcraft.yaml +++ b/installer/snap/snapcraft.yaml @@ -18,6 +18,12 @@ parts: plugin: dump source: base stage-packages: + - openjdk-11-jre + - openjfx + - mediainfo + - libchromaprint-tools + - p7zip-full + - p7zip-rar - libxrender1 - libxext6 - libx11-6