Skip to content

Commit

Permalink
Fix: Signing the .NET 5 gui
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceiridge committed Apr 6, 2021
1 parent 96deefa commit 29b04f1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="cmd.exe /c ..\signall.bat" />
<Exec Command="cmd.exe /c IF &quot;$(ConfigurationName)&quot; == &quot;Release&quot; (localsignall.bat)" />
</Target>

</Project>
2 changes: 2 additions & 0 deletions ChromeDevExtWarningPatcher/localsignall.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cd bin\Release
..\..\..\signall.bat
2 changes: 1 addition & 1 deletion sign.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off
signtool.exe sign /f %CodeSignFile% /as /seal /d "Executable of the Chrome Developer Mode Extension Warning Patcher" /du "https://github.com/Ceiridge/Chrome-Developer-Mode-Extension-Warning-Patcher" /tr http://timestamp.globalsign.com/scripts/timstamp.dll %FileLoc%\*.dll %FileLoc%\*.exe
signtool.exe sign /f %CodeSignFile% /as /seal /d "Executable of the Chrome Developer Mode Extension Warning Patcher" /du "https://github.com/Ceiridge/Chrome-Developer-Mode-Extension-Warning-Patcher" /tr http://freetsa.org/tsr %FileLoc%\*.dll %FileLoc%\*.exe
exit /b 0

0 comments on commit 29b04f1

Please sign in to comment.