1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-04 16:35:08 -05:00

Added license global property

This commit is contained in:
Reinhard Pointner 2018-07-17 00:47:29 +07:00
parent c565bc6705
commit 8d52fcc3af

View File

@ -129,11 +129,11 @@ public abstract class ScriptShellBaseClass extends Script {
return getShell().runScript(input, parameters);
}
public boolean checkLicense() {
public Object getLicense() {
try {
return LICENSE.check() != null;
return LICENSE.check();
} catch (Throwable e) {
return false;
return null;
}
}