From 6e42eaa26c334d8c2564ee7b4160636d325537b4 Mon Sep 17 00:00:00 2001 From: Kukks Date: Thu, 2 Feb 2023 10:13:56 +0100 Subject: [PATCH] fix plugin packer when relative path provided --- BTCPayServer.PluginPacker/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer.PluginPacker/Program.cs b/BTCPayServer.PluginPacker/Program.cs index e41a29c24..271e440e1 100644 --- a/BTCPayServer.PluginPacker/Program.cs +++ b/BTCPayServer.PluginPacker/Program.cs @@ -28,7 +28,7 @@ namespace BTCPayServer.PluginPacker var name = args[1]; var outputDir = Path.Combine(args[2], name); var outputFile = Path.Combine(outputDir, name); - var rootDLLPath = Path.Combine(directory, name + ".dll"); + var rootDLLPath = Path.GetFullPath(Path.Combine(directory, name + ".dll")); if (!File.Exists(rootDLLPath)) { throw new Exception($"{rootDLLPath} could not be found");