Skip to content

Commit

Permalink
Added AppControl Manager download link
Browse files Browse the repository at this point in the history
Added AppControl Manager download link
  • Loading branch information
HotCakeX committed Oct 12, 2024
1 parent d6674a6 commit 0c0c4e9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Harden-Windows-Security.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,16 @@ Function AppControl {
$SignTool = "$WorkingDir\bin\*\$CPUArch\signtool.exe"
}


if ([System.String]::IsNullOrWhiteSpace($MSIXPath)) {

$MSIXPath = [System.IO.Path]::Combine($WorkingDir, 'AppControl.Manager_1.0.0.0_x64.msix')

Write-Verbose -Message 'Downloading the MSIX package from the GitHub releases' -Verbose
$null = Invoke-WebRequest -Uri 'https://github.com/HotCakeX/Harden-Windows-Security/releases/download/WDACConfigv0.4.6/AppControl.Manager_1.0.0.0_x64.msix' -OutFile $MSIXPath
}


# https://learn.microsoft.com/en-us/dotnet/framework/tools/signtool-exe
Write-Verbose -Message 'Signing the MSIX package'

Expand Down

0 comments on commit 0c0c4e9

Please sign in to comment.