mirror of
https://github.com/Jackett/Jackett
synced 2025-01-03 05:36:44 +00:00
parent
dd9a4b075c
commit
b71d856695
3 changed files with 1 additions and 6 deletions
|
@ -809,8 +809,6 @@ To use it, please just request a free API key on [OMDb](http://www.omdbapi.com/a
|
|||
|
||||
- `-p, --Port` Web server port
|
||||
|
||||
- `-m, --MigrateSettings` Migrate settings manually (Must be an admin on Windows)
|
||||
|
||||
- `-n, --IgnoreSslErrors` [true/false] Ignores invalid SSL certificates
|
||||
|
||||
- `-d, --DataFolder` Specify the location of the data folder (Must be an admin on Windows)
|
||||
|
|
|
@ -38,9 +38,6 @@ namespace Jackett.Common.Models.Config
|
|||
[Option('p', "Port", HelpText = "Web server port")]
|
||||
public int Port { get; set; }
|
||||
|
||||
[Option('m', "MigrateSettings", HelpText = "Migrate settings manually (Must be admin on Windows)")]
|
||||
public bool MigrateSettings { get; set; }
|
||||
|
||||
[Option('n', "IgnoreSslErrors", HelpText = "[true/false] Ignores invalid SSL certificates")]
|
||||
public bool? IgnoreSslErrors { get; set; }
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ namespace Jackett.Common.Services
|
|||
{
|
||||
try
|
||||
{
|
||||
processService.StartProcessAndLog(EnvironmentUtil.JackettExecutablePath(), "--MigrateSettings", true);
|
||||
processService.StartProcessAndLog(EnvironmentUtil.JackettExecutablePath(), "", true);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue