From 65e907d79fec2098e66728fadc05aa40aecfe2c4 Mon Sep 17 00:00:00 2001 From: Thomas Suckow Date: Thu, 29 Feb 2024 22:06:45 -0800 Subject: [PATCH] Fix release build dependancy problem --- Duplicati.Library.RestAPI/WebServer/Server.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati.Library.RestAPI/WebServer/Server.cs b/Duplicati.Library.RestAPI/WebServer/Server.cs index 6ea6696294..c8e4408f38 100644 --- a/Duplicati.Library.RestAPI/WebServer/Server.cs +++ b/Duplicati.Library.RestAPI/WebServer/Server.cs @@ -264,7 +264,7 @@ private static HttpServer.HttpServer CreateServer(IDictionary op ( userroot.StartsWith(Util.AppendDirSeparator(System.Reflection.Assembly.GetExecutingAssembly().Location), Library.Utility.Utility.ClientFilenameStringComparison) || - userroot.StartsWith(Util.AppendDirSeparator(Program.StartupPath), Library.Utility.Utility.ClientFilenameStringComparison) + userroot.StartsWith(Util.AppendDirSeparator(Duplicati.Library.AutoUpdater.UpdaterManager.InstalledBaseDir), Library.Utility.Utility.ClientFilenameStringComparison) ) ) #endif