Changed the filename for the old AppImage when using the application updater

This commit is contained in:
Leon Styhre 2023-07-11 17:06:49 +02:00
parent 8aa0f2f3d3
commit 53e73b397b

View file

@ -303,7 +303,7 @@ bool GuiApplicationUpdater::installAppImage()
return true;
}
const std::string packageOldFile {packageTargetFile + "_OLD_" + PROGRAM_VERSION_STRING};
const std::string packageOldFile {packageTargetFile + "_" + PROGRAM_VERSION_STRING + ".OLD"};
if (Utils::FileSystem::renameFile(packageTargetFile, packageOldFile, true)) {
const std::string errorMessage {