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: .
organize:
filebot: filebot
after: [desktop-gtk2]
java:
plugin: nil
stage-packages: [openjdk-8-jre, openjfx, jayatana]
after: [desktop-gtk2]
mediainfo:
plugin: nil
stage-packages: [libmediainfo0v5, libchromaprint-tools]

View File

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