Re-enabled the options to disable the auto-updater
This commit is contained in:
@@ -1056,8 +1056,8 @@ namespace Duplicati.Library.AutoUpdater
|
||||
public static int RunFromMostRecentSpawn(System.Reflection.MethodInfo method, string[] cmdargs, AutoUpdateStrategy defaultstrategy = AutoUpdateStrategy.CheckDuring)
|
||||
{
|
||||
// If the update is disabled, go straight in
|
||||
//if (DISABLE_UPDATE_DOMAIN)
|
||||
// return RunMethod(method, cmdargs);
|
||||
if (DISABLE_UPDATE_DOMAIN)
|
||||
return RunMethod(method, cmdargs);
|
||||
|
||||
// If we are not the primary entry, just execute
|
||||
if (IsRunningInUpdateEnvironment)
|
||||
|
||||
Reference in New Issue
Block a user