Add --NoRestart command line flag and pass pids to the updater (--KillPids)

This commit is contained in:
kaso17
2017-01-20 13:50:23 +01:00
parent bbff25fd54
commit 16ef8061a3
6 changed files with 124 additions and 44 deletions

View File

@@ -13,9 +13,15 @@ namespace Jackett.Updater
public string Path { get; set; }
[Option('t', "Type", HelpText = "Install type")]
public string Type { get; set; }
public string Type { get; set; }
[Option('a', "Args", HelpText = "Launch arguments")]
public string Args { get; set; }
[Option(HelpText = "Don't restart after update")]
public bool NoRestart { get; set; }
[Option(HelpText = "PIDs which will be killed before (Windows) or after (Unix) the update")]
public string KillPids { get; set; }
}
}