diff --git a/README.md b/README.md index 98be5ad..50e2286 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,10 @@ Coming soon. 4. Build TrustedUninstaller.CLI +If you run into reference issues with the Windows namespace, add `Windows.winmd` as a reference. + ## License This tool has an [MIT license](https://en.wikipedia.org/wiki/MIT_License), which waives any requirements or rules governing the source code’s use, removing politics from the equation. -Since this project makes major alterations to the operating system and has the ability to install software during this process, it is imperative that we **provide its source code for auditing purposes.** +Since this project makes major alterations to the operating system and has the ability to install software during this process, it is imperative that we **provide its source code for auditing purposes.** This has not only helped us build trust, and make our project stand out among the crowd, but has also led to many community contributions along the way. \ No newline at end of file diff --git a/TrustedUninstaller.Shared/Globals.cs b/TrustedUninstaller.Shared/Globals.cs index eb03ebc..0b93d59 100644 --- a/TrustedUninstaller.Shared/Globals.cs +++ b/TrustedUninstaller.Shared/Globals.cs @@ -9,8 +9,8 @@ namespace TrustedUninstaller.Shared { public class Globals { - public const string CurrentVersion = "0.5"; - public const double CurrentVersionNumber = 0.5; + public const string CurrentVersion = "0.5.2"; + public const double CurrentVersionNumber = 0.52; #if DEBUG public static readonly int WinVer = 19045; #else diff --git a/TrustedUninstaller.Shared/Requirements.cs b/TrustedUninstaller.Shared/Requirements.cs index 20f5904..1d54321 100644 --- a/TrustedUninstaller.Shared/Requirements.cs +++ b/TrustedUninstaller.Shared/Requirements.cs @@ -35,7 +35,12 @@ namespace TrustedUninstaller.Shared [XmlEnum("Activation")] Activation = 5, [XmlEnum("NoAntivirus")] - NoAntivirus = 6 + NoAntivirus = 6, + [XmlEnum("PasswordSet")] + PasswordSet = 7, + [XmlEnum("AdministratorPasswordSet")] + AdministratorPasswordSet = 8, + } public static async Task MetRequirements(this Requirement[] requirements) @@ -66,7 +71,13 @@ namespace TrustedUninstaller.Shared if (requirements.Contains (Requirement.DefenderToggled)) if (await new DefenderDisabled().IsMet()) metRequirements.Add(Requirement.DefenderToggled); + + if (requirements.Contains(Requirement.PasswordSet)) + metRequirements.Add(Requirement.PasswordSet); + if (requirements.Contains(Requirement.AdministratorPasswordSet)) + metRequirements.Add(Requirement.AdministratorPasswordSet); + return metRequirements.ToArray(); } diff --git a/Windows.winmd b/Windows.winmd new file mode 100644 index 0000000..fe1e718 Binary files /dev/null and b/Windows.winmd differ