From 2ee110abb3891e3fc340106a105d9fc3459bbbe4 Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Mon, 13 Mar 2017 09:26:22 +0100 Subject: Added fix for faster commandline startup to the other commandline tools --- Duplicati/CommandLine/BackendTester/Program.cs | 1 + Duplicati/CommandLine/BackendTool/Program.cs | 1 + Duplicati/CommandLine/RecoveryTool/Program.cs | 1 + Duplicati/Library/AutoUpdater/Program.cs | 1 + 4 files changed, 4 insertions(+) diff --git a/Duplicati/CommandLine/BackendTester/Program.cs b/Duplicati/CommandLine/BackendTester/Program.cs index 806c017ac..142bf0e0f 100644 --- a/Duplicati/CommandLine/BackendTester/Program.cs +++ b/Duplicati/CommandLine/BackendTester/Program.cs @@ -53,6 +53,7 @@ namespace Duplicati.CommandLine.BackendTester [STAThread] public static int Main(string[] args) { + Duplicati.Library.AutoUpdater.UpdaterManager.IgnoreWebrootFolder = true; return Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecent(typeof(Program).GetMethod("RealMain"), args); } diff --git a/Duplicati/CommandLine/BackendTool/Program.cs b/Duplicati/CommandLine/BackendTool/Program.cs index 14ce4e5d2..ad72c7244 100644 --- a/Duplicati/CommandLine/BackendTool/Program.cs +++ b/Duplicati/CommandLine/BackendTool/Program.cs @@ -32,6 +32,7 @@ namespace Duplicati.CommandLine.BackendTool [STAThread] public static int Main(string[] args) { + Duplicati.Library.AutoUpdater.UpdaterManager.IgnoreWebrootFolder = true; return Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecent(typeof(Program).GetMethod("RealMain"), args); } diff --git a/Duplicati/CommandLine/RecoveryTool/Program.cs b/Duplicati/CommandLine/RecoveryTool/Program.cs index 599e23268..7170126d2 100644 --- a/Duplicati/CommandLine/RecoveryTool/Program.cs +++ b/Duplicati/CommandLine/RecoveryTool/Program.cs @@ -28,6 +28,7 @@ namespace Duplicati.CommandLine.RecoveryTool [STAThread] public static int Main(string[] args) { + Duplicati.Library.AutoUpdater.UpdaterManager.IgnoreWebrootFolder = true; return Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecent(typeof(Program).GetMethod("RealMain"), args); } diff --git a/Duplicati/Library/AutoUpdater/Program.cs b/Duplicati/Library/AutoUpdater/Program.cs index ae15c0b64..4a9c2317c 100644 --- a/Duplicati/Library/AutoUpdater/Program.cs +++ b/Duplicati/Library/AutoUpdater/Program.cs @@ -25,6 +25,7 @@ namespace Duplicati.Library.AutoUpdater { public static int Main(string[] args) { + Duplicati.Library.AutoUpdater.UpdaterManager.IgnoreWebrootFolder = true; return Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecent(typeof(Program).GetMethod("RealMain"), args, AutoUpdateStrategy.Never); } -- cgit v1.2.3