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

0.7.19 version with passcode lock option

This commit is contained in:
John Preston
2015-03-02 15:34:16 +03:00
parent 64bc88ce82
commit ad04bf77d1
64 changed files with 2699 additions and 1197 deletions

View File

@@ -19,6 +19,8 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org
#include "application.h"
#include "pspecific.h"
#include "localstorage.h"
int main(int argc, char *argv[]) {
#ifdef _NEED_WIN_GENERATE_DUMP
_oldWndExceptionFilter = SetUnhandledExceptionFilter(_exceptionFilter);
@@ -34,9 +36,10 @@ int main(int argc, char *argv[]) {
}
logsInit();
App::readConfig();
Local::readSettings();
if (cFromAutoStart() && !cAutoStart()) {
psAutoStart(false, true);
Local::stop();
return 0;
}
@@ -64,6 +67,7 @@ int main(int argc, char *argv[]) {
}
}
psFinish();
Local::stop();
DEBUG_LOG(("Application Info: Telegram done, result: %1").arg(result));