diff --git a/installer/snappy/.gitignore b/installer/snappy/.gitignore index e7f5b49c..7f78096c 100644 --- a/installer/snappy/.gitignore +++ b/installer/snappy/.gitignore @@ -6,4 +6,5 @@ snap oracle-java *.jar +*.so *.snap diff --git a/installer/snappy/filebot.sh b/installer/snappy/filebot.sh index 58ea0a01..134dbd84 100755 --- a/installer/snappy/filebot.sh +++ b/installer/snappy/filebot.sh @@ -7,6 +7,7 @@ export PATH=$JAVA_HOME/jre/bin:$PATH export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/$SNAP_ARCH/jli:$JAVA_HOME/jre/lib/$SNAP_ARCH:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=$SNAP/usr/lib/$ARCH/gtk-2.0/2.10.0/engines:$SNAP/usr/lib/$ARCH/gtk-2.0/modules:$SNAP/usr/lib/$ARCH/pulseaudio:$LD_LIBRARY_PATH +export LD_LIBRARY_PATH=$SNAP/filebot/lib/$SNAP_ARCH:$LD_LIBRARY_PATH export GDK_PIXBUF_MODULEDIR=$SNAP/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0 export GDK_PIXBUF_MODULE_FILE=$SNAP/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache diff --git a/installer/snappy/snapcraft.yaml b/installer/snappy/snapcraft.yaml index f13aaae9..f5d22548 100644 --- a/installer/snappy/snapcraft.yaml +++ b/installer/snappy/snapcraft.yaml @@ -18,6 +18,7 @@ parts: files: filebot.sh: bin/filebot FileBot.jar: filebot/FileBot.jar + lib7-Zip-JBinding.so: filebot/lib/amd64/lib7-Zip-JBinding.so oracle-java: plugin: copy files: