Fix updater for non-Latin user directories

This commit is contained in:
DanielSvoboda 2024-12-22 15:43:30 -03:00
parent 8a409d86d4
commit b799f2747a

View File

@ -536,6 +536,7 @@ void CheckUpdate::Install() {
QFile scriptFile(scriptFileName);
if (scriptFile.open(QIODevice::WriteOnly | QIODevice::Text)) {
QTextStream out(&scriptFile);
scriptFile.write("\xEF\xBB\xBF");
#ifdef Q_OS_WIN
out << scriptContent.arg(binaryStartingUpdate).arg(tempDirPath).arg(rootPath);
#endif