Skip to content

Commit

Permalink
Improved setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
nefarius committed Jul 19, 2024
1 parent 9b27ade commit 5c53235
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions stage2.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ $signTool = "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\signtoo
$timestampUrl = "http://timestamp.digicert.com"
$certName = "Nefarius Software Solutions e.U."

# List of files to sign
$files = "`".\setup\*.msi`" "

dotnet build -c:Release -p:SetupVersion=$SetupVersion .\setup\DsHidMini.Installer.csproj

# sign with only one certificate
Invoke-Expression "& `"$signTool`" sign /v /n `"$certName`" /tr $timestampUrl /fd sha256 /td sha256 $files"
Invoke-Expression "& `"$signTool`" sign /v /n `"$certName`" /tr $timestampUrl /fd sha256 /td sha256 .\setup\Nefarius_DsHidMini_Drivers_x64_arm64_v$SetupVersion.msi"

0 comments on commit 5c53235

Please sign in to comment.