Browse Source

Add requirements, update README

master 0.5.2
Styris 1 year ago
parent
commit
f213663c6b
4 changed files with 17 additions and 4 deletions
  1. +3
    -1
      README.md
  2. +2
    -2
      TrustedUninstaller.Shared/Globals.cs
  3. +12
    -1
      TrustedUninstaller.Shared/Requirements.cs
  4. BIN
      Windows.winmd

+ 3
- 1
README.md View File

@ -18,8 +18,10 @@ Coming soon.
4. Build TrustedUninstaller.CLI 4. Build TrustedUninstaller.CLI
If you run into reference issues with the Windows namespace, add `Windows.winmd` as a reference.
## License ## 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. 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. 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.

+ 2
- 2
TrustedUninstaller.Shared/Globals.cs View File

@ -9,8 +9,8 @@ namespace TrustedUninstaller.Shared
{ {
public class Globals 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 #if DEBUG
public static readonly int WinVer = 19045; public static readonly int WinVer = 19045;
#else #else


+ 12
- 1
TrustedUninstaller.Shared/Requirements.cs View File

@ -35,7 +35,12 @@ namespace TrustedUninstaller.Shared
[XmlEnum("Activation")] [XmlEnum("Activation")]
Activation = 5, Activation = 5,
[XmlEnum("NoAntivirus")] [XmlEnum("NoAntivirus")]
NoAntivirus = 6
NoAntivirus = 6,
[XmlEnum("PasswordSet")]
PasswordSet = 7,
[XmlEnum("AdministratorPasswordSet")]
AdministratorPasswordSet = 8,
} }
public static async Task<Requirement[]> MetRequirements(this Requirement[] requirements) public static async Task<Requirement[]> MetRequirements(this Requirement[] requirements)
@ -66,7 +71,13 @@ namespace TrustedUninstaller.Shared
if (requirements.Contains (Requirement.DefenderToggled)) if (requirements.Contains (Requirement.DefenderToggled))
if (await new DefenderDisabled().IsMet()) metRequirements.Add(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(); return metRequirements.ToArray();
} }


BIN
Windows.winmd View File


Loading…
Cancel
Save