diff --git a/src/Utils/AppxRemover.cs b/src/Utils/AppxRemover.cs index 2d07e04..52e18c6 100644 --- a/src/Utils/AppxRemover.cs +++ b/src/Utils/AppxRemover.cs @@ -48,8 +48,7 @@ private Result PerformAppsRemoval(string[] appNames, RemovalMethod removalMethod private static bool IsSystemApp(Package package) { - string systemAppsFolder = $@"{Environment.GetFolderPath(Environment.SpecialFolder.Windows)}\SystemApps"; - return package.InstalledPath.StartsWith(systemAppsFolder); + return package.SignatureKind == PackageSignatureKind.System; } private abstract class RemovalMethod