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:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user