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 {