Skip to content

Commit 29b04f1

Browse files
committed
Fix: Signing the .NET 5 gui
1 parent 96deefa commit 29b04f1

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

ChromeDevExtWarningPatcher/ChromeDevExtWarningPatcher.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
</ItemGroup>
5252

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

5757
</Project>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cd bin\Release
2+
..\..\..\signall.bat

sign.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@echo off
2-
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
2+
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
33
exit /b 0

0 commit comments

Comments
 (0)