mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -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,7 +123,14 @@ namespace Ombi.Schedule.Jobs.Ombi
|
|||
else
|
||||
{
|
||||
Logger.LogDebug(LoggingEvents.Updater, "We are linux");
|
||||
download = updates.Downloads.FirstOrDefault(x => x.Name.Contains("linux", CompareOptions.IgnoreCase));
|
||||
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));
|
||||
}
|
||||
}
|
||||
if (download == null)
|
||||
{
|
||||
|
@ -206,10 +213,10 @@ namespace Ombi.Schedule.Jobs.Ombi
|
|||
{
|
||||
start.Password = settings.Password.ToSecureString();
|
||||
}
|
||||
var proc = new Process {StartInfo = start};
|
||||
var proc = new Process { StartInfo = start };
|
||||
|
||||
|
||||
proc.Start();
|
||||
proc.Start();
|
||||
|
||||
Logger.LogDebug(LoggingEvents.Updater, "Bye bye");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue