Fix MAS builds
This commit is contained in:
parent
87cc92656a
commit
7da577e3db
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue