mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-17 06:45:06 -05:00
Update snap
This commit is contained in:
parent
876f258521
commit
f7be44f642
@ -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]
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user