remove unused migratesettings flag. resolves #12491 (#12500)

This commit is contained in:
ilike2burnthing 2021-11-17 18:16:49 +00:00 committed by GitHub
parent dd9a4b075c
commit b71d856695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 6 deletions

View File

@ -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)

View File

@ -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; }

View File

@ -69,7 +69,7 @@ namespace Jackett.Common.Services
{
try
{
processService.StartProcessAndLog(EnvironmentUtil.JackettExecutablePath(), "--MigrateSettings", true);
processService.StartProcessAndLog(EnvironmentUtil.JackettExecutablePath(), "", true);
}
catch
{