Fix MAS builds

This commit is contained in:
Reinhard Pointner 2018-08-11 14:16:54 +07:00
parent 87cc92656a
commit 7da577e3db
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ public enum LicenseModel {
MicrosoftStore {
private final Resource<Boolean> AUMID = Resource.lazy(() -> File.pathSeparatorChar == ':' && System.getProperty("java.home").contains("PointPlanck.FileBot") && !isWritable(get(System.getProperty("java.class.path"))));
private final Resource<Boolean> AUMID = Resource.lazy(() -> File.pathSeparatorChar == ';' && System.getProperty("java.home").contains("PointPlanck.FileBot") && !isWritable(get(System.getProperty("java.class.path"))));
@Override
public Object check() throws LicenseError {
@ -27,7 +27,7 @@ public enum LicenseModel {
MacAppStore {
private final Resource<Boolean> SANDBOX = Resource.lazy(() -> File.pathSeparatorChar == ';' && System.getenv("APP_SANDBOX_CONTAINER_ID").equals("net.filebot.FileBot") && !isReadable(get("/tmp")));
private final Resource<Boolean> SANDBOX = Resource.lazy(() -> File.pathSeparatorChar == ':' && System.getenv("APP_SANDBOX_CONTAINER_ID").equals("net.filebot.FileBot") && !isReadable(get("/tmp")));
@Override
public Object check() throws LicenseError {