-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added AppControl Manager native installer to the Harden Windows Secur…
…ity Module (#508) You can now install the AppControl Manager right from the Harden Windows Security module. This is a very convenient way to install it as it only requires a click/tap of a button.
- Loading branch information
Showing
17 changed files
with
1,042 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
Harden-Windows-Security Module/Main files/C#/GUI/AppControlManager/Variables.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System; | ||
using System.Text.RegularExpressions; | ||
using System.Windows.Controls; | ||
using Windows.Management.Deployment; | ||
|
||
namespace HardenWindowsSecurity; | ||
|
||
public static class GUIAppControlManager | ||
{ | ||
internal static UserControl? View; | ||
|
||
internal static Grid? ParentGrid; | ||
|
||
internal static PackageManager packageMgr = new(); | ||
|
||
// Pattern for AppControl Manager version and architecture extraction from file path and download link URL | ||
internal static readonly Regex regex = new(@"_(?<Version>\d+\.\d+\.\d+\.\d+)_(?<Architecture>x64|arm64)\.msix$", | ||
RegexOptions.IgnoreCase | RegexOptions.Compiled | ||
); | ||
|
||
internal static readonly Uri AppUpdateDownloadLinkURL = new("https://raw.githubusercontent.com/HotCakeX/Harden-Windows-Security/refs/heads/main/AppControl%20Manager/DownloadURL.txt"); | ||
|
||
} |
Oops, something went wrong.