UI: CrashHandler: Add app version to file name

This commit is contained in:
Nodir Temirkhodjaev 2023-11-16 13:43:12 +03:00
parent 109c895590
commit 473350fe69

View File

@ -66,7 +66,7 @@ void setupCrashHandler(CrashHandler &crashHandler, const FortSettings &settings)
FileUtil::removeOldFiles(dumpPath, fileNamePrefix, fileNameSuffix, CRASH_KEEP_FILES);
crashHandler.setFileNamePrefix(fileNamePrefix);
crashHandler.setFileNamePrefix(fileNamePrefix + APP_VERSION_STR + '_');
crashHandler.setFileNameSuffix(fileNameSuffix);
crashHandler.install(dumpPath);
}