Fix MAS builds

This commit is contained in:
Reinhard Pointner 2018-08-10 15:44:39 +07:00
parent 9a7bf15ab9
commit bab16812d0
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ public enum LicenseModel {
MicrosoftStore {
private final Resource<Boolean> AUMID = Resource.lazy(() -> getAppUserModelID() == null || getAppUserModelID().equals("PointPlanck.FileBot"));
private final Resource<Boolean> AUMID = Resource.lazy(() -> getAppUserModelID() == null && !isWritable(get(System.getProperty("java.class.path"))));
@Override
public Object check() throws LicenseError {