Skip to content

Commit

Permalink
Large file mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Wano-k committed Dec 1, 2021
1 parent 000d0e1 commit 0ab4cbe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions engineupdater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void EngineUpdater::getTree(QJsonObject& objTree, QString localUrl,
} else {
if (directories.fileName() == "Electron Framework" && !directories.fileInfo().isSymLink())
{
large = "Electron Framework";
large = "Electron.Framework";
}
getJSONFile(obj, currentPath, currentTarget, repo, directories
.fileInfo().isSymLink(), directories.fileInfo().isDir());
Expand All @@ -245,10 +245,10 @@ void EngineUpdater::getTree(QJsonObject& objTree, QString localUrl,
obj[jsonLarge] = "Game";
} else if (path == "Game/winx64")
{
obj[jsonLarge] = "Game.exe";
obj[jsonLarge] = "Gamex64.exe";
} else if (path == "Game/winx86")
{
obj[jsonLarge] = "Game.exe";
obj[jsonLarge] = "Gamex86.exe";
}
}
tabFiles.append(obj);
Expand Down Expand Up @@ -402,7 +402,7 @@ void EngineUpdater::updateVersion(QString& version) {

// Get the JSON
reply = manager.get(QNetworkRequest(QUrl(pathGitHub +
"RPG-Paper-Maker/master/Versions/" + version + ".json")));
"RPG-Paper-Maker/develop/Versions/" + version + ".json")));

QObject::connect(reply, SIGNAL(finished()), &loop, SLOT(quit()));
loop.exec();
Expand Down Expand Up @@ -701,7 +701,7 @@ bool EngineUpdater::readDocumentVersion() {

// Get the JSON
reply = manager.get(QNetworkRequest(
QUrl(pathGitHub + "RPG-Paper-Maker/master/versions.json")));
QUrl(pathGitHub + "RPG-Paper-Maker/develop/versions.json")));

QObject::connect(reply, SIGNAL(finished()), &loop, SLOT(quit()));
loop.exec();
Expand Down

0 comments on commit 0ab4cbe

Please sign in to comment.