mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Added this for the ARM build !wip
This commit is contained in:
parent
0fc2037ae3
commit
132c526965
1 changed files with 10 additions and 3 deletions
|
@ -123,8 +123,15 @@ namespace Ombi.Schedule.Jobs.Ombi
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Logger.LogDebug(LoggingEvents.Updater, "We are linux");
|
Logger.LogDebug(LoggingEvents.Updater, "We are linux");
|
||||||
|
if (RuntimeInformation.OSDescription.Contains("arm", CompareOptions.IgnoreCase))
|
||||||
|
{
|
||||||
|
download = updates.Downloads.FirstOrDefault(x => x.Name.Contains("arm", CompareOptions.IgnoreCase));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
download = updates.Downloads.FirstOrDefault(x => x.Name.Contains("linux", CompareOptions.IgnoreCase));
|
download = updates.Downloads.FirstOrDefault(x => x.Name.Contains("linux", CompareOptions.IgnoreCase));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (download == null)
|
if (download == null)
|
||||||
{
|
{
|
||||||
Logger.LogDebug(LoggingEvents.Updater, "There were no downloads");
|
Logger.LogDebug(LoggingEvents.Updater, "There were no downloads");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue