2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

temp downgrade to Qt 5.4 on OS X (Qt 5.5 does not support OS X 10.7)

This commit is contained in:
John Preston
2015-07-28 15:47:21 +02:00
parent aaf347432b
commit b0d67a65a8
11 changed files with 424 additions and 389 deletions

View File

@@ -79,6 +79,15 @@ int main(int argc, char *argv[]) {
DEBUG_LOG(("Application Info: Telegram done, result: %1").arg(result));
if (cRestartingUpdate()) {
if (DevVersion) {
LOG(("Writing 'withdebug' file before launching the Updater!"));
QFile f(cWorkingDir() + qsl("tdata/withdebug"));
if (!f.exists() && f.open(QIODevice::WriteOnly)) {
f.write("1");
f.close();
}
}
DEBUG_LOG(("Application Info: executing updater to install update.."));
psExecUpdater();
} else if (cRestarting()) {