mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
added updater test mode
This commit is contained in:
parent
ee12dc952d
commit
31e3c5b653
2 changed files with 2 additions and 1 deletions
|
@ -102,7 +102,7 @@ namespace Ombi.Schedule.Jobs.Ombi
|
||||||
|
|
||||||
Logger.LogDebug(LoggingEvents.Updater, "Service Version {0}", updates.UpdateVersionString);
|
Logger.LogDebug(LoggingEvents.Updater, "Service Version {0}", updates.UpdateVersionString);
|
||||||
|
|
||||||
if (!serverVersion.Equals(version, StringComparison.CurrentCultureIgnoreCase))
|
if (!serverVersion.Equals(version, StringComparison.CurrentCultureIgnoreCase) || settings.TestMode)
|
||||||
{
|
{
|
||||||
// Let's download the correct zip
|
// Let's download the correct zip
|
||||||
var desc = RuntimeInformation.OSDescription;
|
var desc = RuntimeInformation.OSDescription;
|
||||||
|
|
|
@ -10,5 +10,6 @@
|
||||||
public string ScriptLocation { get; set; }
|
public string ScriptLocation { get; set; }
|
||||||
public string WindowsServiceName { get; set; }
|
public string WindowsServiceName { get; set; }
|
||||||
public bool WindowsService { get; set; }
|
public bool WindowsService { get; set; }
|
||||||
|
public bool TestMode { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue