Update snap
This commit is contained in:
parent
876f258521
commit
f7be44f642
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue