From 87cc92656aabc668442afc74c953eb1ba97d17c1 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 10 Aug 2018 17:57:46 +0700 Subject: [PATCH] Fix MAS builds --- source/net/filebot/LicenseModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/LicenseModel.java b/source/net/filebot/LicenseModel.java index beb9d204..54cb537d 100644 --- a/source/net/filebot/LicenseModel.java +++ b/source/net/filebot/LicenseModel.java @@ -9,7 +9,7 @@ public enum LicenseModel { MicrosoftStore { - private final Resource 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 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 {