1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-22 15:58:52 -05:00

Fix MAS builds

This commit is contained in:
Reinhard Pointner 2018-08-10 15:44:39 +07:00
parent 9a7bf15ab9
commit bab16812d0

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 {