[win-linux] delete outdated update folder

This commit is contained in:
SimplestStudio
2023-10-24 07:11:17 +03:00
parent bc04447ffa
commit 4eec1e8364

View File

@ -441,6 +441,9 @@ void CSvcManager::clearTempFiles(const tstring &prefix, const tstring &except)
NS_File::removeFile(filePath);
}
}
tstring updPath = NS_File::parentPath(NS_File::appPath()) + UPDATE_PATH;
if (except.empty() && NS_File::dirExists(updPath))
NS_File::removeDirRecursively(updPath);
});
}