Skip to content

Commit

Permalink
Restrict version harder
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Sep 13, 2024
1 parent 8ae25cf commit d4e9622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Builders/WindowsBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public override Uploader CreateUploader()
string path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".nuget", "packages", "microsoft.trusted.signing.client");
const string dll_name = "Azure.CodeSigning.Dlib.dll";

string? dllPath = Directory.GetFiles(path, dll_name, SearchOption.AllDirectories).LastOrDefault(p => p.Contains("x64"));
string? dllPath = Directory.GetFiles(path, dll_name, SearchOption.AllDirectories).LastOrDefault(p => p.Contains("x64") && p.Contains("1.0.53"));

if (dllPath == null)
Logger.Error("Could not find path for Dlib.dll");
Expand Down

0 comments on commit d4e9622

Please sign in to comment.