diff --git a/src/lib_gui/platform_includes/includesWindows.h b/src/lib_gui/platform_includes/includesWindows.h index f2a9676a..85b032eb 100644 --- a/src/lib_gui/platform_includes/includesWindows.h +++ b/src/lib_gui/platform_includes/includesWindows.h @@ -39,27 +39,6 @@ void setupApp(int argc, char *argv[]) #endif // This "copyFile" method does nothing if the copy destination already exist - -#ifdef DEPLOY - // try to find files in Coati installation to migrate to Sourcetrail - FilePath coatiUserDataPath = UserPaths::getUserDataPath().concatenate(FilePath("../")); - if (utility::getApplicationArchitectureType() == APPLICATION_ARCHITECTURE_X86_64) - { - coatiUserDataPath = coatiUserDataPath.concatenate(FilePath("Coati 64-bit")); - } - else - { - coatiUserDataPath = coatiUserDataPath.concatenate(FilePath("Coati")); - } - - if (coatiUserDataPath.exists()) - { - FileSystem::copyFile(coatiUserDataPath.concatenate(FilePath("ApplicationSettings.xml")), UserPaths::getAppSettingsPath()); - FileSystem::copyFile(coatiUserDataPath.concatenate(FilePath("window_settings.ini")), UserPaths::getWindowSettingsPath()); - } -#endif - - // use files in fallback folder if Coati has not been installed and used before FileSystem::copyFile(ResourcePaths::getFallbackPath().concatenate(FilePath("ApplicationSettings.xml")), UserPaths::getAppSettingsPath()); FileSystem::copyFile(ResourcePaths::getFallbackPath().concatenate(FilePath("window_settings.ini")), UserPaths::getWindowSettingsPath()); }