Fix windows installer

This commit is contained in:
WhatFox
2015-11-10 22:02:02 +00:00
parent f8120363f4
commit ee8464219f
2 changed files with 14 additions and 14 deletions

View File

@@ -110,7 +110,7 @@ namespace Jackett.Services
var oldDir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Jackett");
if (Directory.Exists(oldDir))
{
foreach (var file in Directory.GetFiles(oldDir, "*.json", SearchOption.AllDirectories))
foreach (var file in Directory.GetFiles(oldDir, "*", SearchOption.AllDirectories))
{
var path = file.Replace(oldDir, "");
var destPath = GetAppDataFolder() + path;