1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 06:45:06 -05:00

Update snap

This commit is contained in:
Reinhard Pointner 2016-11-24 22:27:22 +08:00
parent 876f258521
commit f7be44f642
2 changed files with 5 additions and 1 deletions

View File

@ -19,10 +19,10 @@ parts:
source: . source: .
organize: organize:
filebot: filebot filebot: filebot
after: [desktop-gtk2]
java: java:
plugin: nil plugin: nil
stage-packages: [openjdk-8-jre, openjfx, jayatana] stage-packages: [openjdk-8-jre, openjfx, jayatana]
after: [desktop-gtk2]
mediainfo: mediainfo:
plugin: nil plugin: nil
stage-packages: [libmediainfo0v5, libchromaprint-tools] stage-packages: [libmediainfo0v5, libchromaprint-tools]

View File

@ -9,6 +9,10 @@ public class PlatformGVFS implements GVFS {
private final File gvfs; private final File gvfs;
public PlatformGVFS(File gvfs) { public PlatformGVFS(File gvfs) {
if (gvfs.list() == null) {
throw new IllegalArgumentException(gvfs.getPath() + " is not a valid directory");
}
this.gvfs = gvfs; this.gvfs = gvfs;
} }