2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 23:25:15 +00:00

windows backtrace logging done, showing error when cant start telegram or previous launch was not finished properly

This commit is contained in:
John Preston
2016-01-25 13:22:58 +03:00
parent 0f4405dbaf
commit c8d7d23ee6
12 changed files with 661 additions and 178 deletions

View File

@@ -215,6 +215,9 @@ void settingsParseArgs(int argc, char *argv[]) {
gLaunchMode = LaunchModeFixPrevious;
} else if (string("-cleanup") == argv[i]) {
gLaunchMode = LaunchModeCleanup;
} else if (string("-crash") == argv[i] && i + 1 < argc) {
gLaunchMode = LaunchModeShowCrash;
gStartUrl = fromUtf8Safe(argv[++i]);
} else if (string("-noupdate") == argv[i]) {
gNoStartUpdate = true;
} else if (string("-tosettings") == argv[i]) {