mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-06 17:32:40 +00:00
Fix updater for non-Latin user directories
This commit is contained in:
parent
8a409d86d4
commit
b799f2747a
@ -536,6 +536,7 @@ void CheckUpdate::Install() {
|
|||||||
QFile scriptFile(scriptFileName);
|
QFile scriptFile(scriptFileName);
|
||||||
if (scriptFile.open(QIODevice::WriteOnly | QIODevice::Text)) {
|
if (scriptFile.open(QIODevice::WriteOnly | QIODevice::Text)) {
|
||||||
QTextStream out(&scriptFile);
|
QTextStream out(&scriptFile);
|
||||||
|
scriptFile.write("\xEF\xBB\xBF");
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
out << scriptContent.arg(binaryStartingUpdate).arg(tempDirPath).arg(rootPath);
|
out << scriptContent.arg(binaryStartingUpdate).arg(tempDirPath).arg(rootPath);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user