Fix MAS builds

This commit is contained in:
Reinhard Pointner 2018-08-10 17:57:46 +07:00
parent fcd331ba59
commit 87cc92656a
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ public enum LicenseModel {
MicrosoftStore {
private final Resource<Boolean> AUMID = Resource.lazy(() -> File.pathSeparatorChar == ':' && System.getProperty("java.home").matches("^[A-Z]:\\\\Program.Files\\\\WindowsApps\\\\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 {