From d4e962272175ce2a7d37a635aa119b7342494917 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 13 Sep 2024 18:08:34 +0900 Subject: [PATCH] Restrict version harder --- Builders/WindowsBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Builders/WindowsBuilder.cs b/Builders/WindowsBuilder.cs index 94508e7..37bfbce 100644 --- a/Builders/WindowsBuilder.cs +++ b/Builders/WindowsBuilder.cs @@ -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");