2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

moved minizip to ThirdParty, added google breakpad to ThirdParty for windows (mac, linux broken)

This commit is contained in:
John Preston
2016-01-31 21:01:43 +03:00
parent 17a319fdb3
commit a0d171bb49
45 changed files with 10654 additions and 272 deletions

View File

@@ -27,18 +27,13 @@ Copyright (c) 2014-2015 John Preston, https://desktop.telegram.org
int main(int argc, char *argv[]) {
int result = 0;
#ifdef Q_OS_WIN
_oldWndExceptionFilter = SetUnhandledExceptionFilter(_exceptionFilter);
// CAPIHook apiHook("kernel32.dll", "SetUnhandledExceptionFilter", (PROC)RedirectedSetUnhandledExceptionFilter);
#endif
settingsParseArgs(argc, argv);
if (cLaunchMode() == LaunchModeFixPrevious) {
return psFixPrevious();
} else if (cLaunchMode() == LaunchModeCleanup) {
return psCleanup();
} else if (cLaunchMode() == LaunchModeShowCrash) {
return psShowCrash(QFileInfo(cStartUrl()).absoluteFilePath());
return showCrashReportWindow(QFileInfo(cStartUrl()).absoluteFilePath());
}
Logs::Initializer _logs;