Skip to content

Commit

Permalink
Windows: Fix worker signing
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Jan 12, 2025
1 parent 1d88df1 commit 6ea12cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NAPS2.Tools/Project/Packaging/WindowsSigning.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ public static void SignContents(PackageInfo packageInfo)

private static bool NeedsSignature(PackageFile file)
{
if (Path.GetExtension(file.FileName) == ".exe")
{
return true;
}
try
{
AssemblyName.GetAssemblyName(file.SourcePath);
Expand Down

0 comments on commit 6ea12cf

Please sign in to comment.