mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
@@ -91,7 +91,7 @@ namespace Jackett.Common.Services
|
|||||||
{
|
{
|
||||||
// In cases where the app data folder is the same as "$(cwd)/Jackett" we don't need to perform a migration
|
// In cases where the app data folder is the same as "$(cwd)/Jackett" we don't need to perform a migration
|
||||||
var fullConfigPath = Path.GetFullPath("Jackett");
|
var fullConfigPath = Path.GetFullPath("Jackett");
|
||||||
if (GetAppDataFolder() != fullConfigPath)
|
if (GetAppDataFolder() != fullConfigPath && ! File.Exists(Path.Combine(fullConfigPath, "jackett")))
|
||||||
{
|
{
|
||||||
PerformMigration(fullConfigPath);
|
PerformMigration(fullConfigPath);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user