mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
added optional launch args for the auto updater
This commit is contained in:
parent
defc5a7a91
commit
9165f3f31e
4 changed files with 49 additions and 16 deletions
|
@ -8,7 +8,14 @@ namespace PlexRequests.Updater
|
|||
{
|
||||
Console.WriteLine ("Starting PlexRequests .Net updater");
|
||||
var s = new Updater();
|
||||
s.Start(args[0]);
|
||||
if (args.Length >= 2)
|
||||
{
|
||||
s.Start(args[0], args[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
s.Start(args[0], string.Empty);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue