Detect startup after recent crashes

This commit is contained in:
Fedor Indutny 2022-01-11 12:02:46 -08:00 committed by GitHub
parent 02a732c511
commit 91f1b62bc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 650 additions and 101 deletions

5
ts/window.d.ts vendored
View file

@ -190,6 +190,11 @@ declare global {
baseAttachmentsPath: string;
baseStickersPath: string;
baseTempPath: string;
crashReports: {
getCount: () => Promise<number>;
upload: () => Promise<void>;
erase: () => Promise<void>;
};
drawAttention: () => void;
enterKeyboardMode: () => void;
enterMouseMode: () => void;