1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 12:46:23 +00:00

Added change port argument to console app

This commit is contained in:
unknown 2015-07-19 10:57:33 -06:00
parent 91f80e054c
commit 705890d5ec

View file

@ -22,14 +22,17 @@ namespace JackettConsole
{
switch (args[0].ToLowerInvariant())
{
case "/i":
case "/i": // install
Engine.ServiceConfig.Install();
return;
case "/r":
Engine.Server.ReserveUrls();
case "/r": // reserve port/url & install
Engine.Server.ReserveUrls(doInstall: true);
return;
case "/u":
Engine.Server.ReserveUrls(false);
case "/c": // change port
Engine.Server.ReserveUrls(doInstall: false);
return;
case "/u": // uninstall
Engine.Server.ReserveUrls(doInstall: false);
Engine.ServiceConfig.Uninstall();
return;
}