mirror of
https://github.com/mitb-archive/filebot
synced 2024-08-13 17:03:45 -04:00
Added license
global property
This commit is contained in:
parent
c565bc6705
commit
8d52fcc3af
@ -129,11 +129,11 @@ public abstract class ScriptShellBaseClass extends Script {
|
|||||||
return getShell().runScript(input, parameters);
|
return getShell().runScript(input, parameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean checkLicense() {
|
public Object getLicense() {
|
||||||
try {
|
try {
|
||||||
return LICENSE.check() != null;
|
return LICENSE.check();
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
return false;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user