1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-13 00:10:37 +02:00

Desktop: Add support for automatically uploading crash reports

This commit is contained in:
Laurent Cozic
2024-01-18 21:45:25 +00:00
parent a9691f6b1c
commit de0ae7653f
9 changed files with 3310 additions and 1 deletions

View File

@ -129,6 +129,10 @@ class Application extends BaseApplication {
this.setupOcrService();
}
if (action.type === 'SETTING_UPDATE_ONE' && action.key === 'autoUploadCrashDumps') {
bridge().autoUploadCrashDumps = action.value;
}
if (action.type === 'SETTING_UPDATE_ONE' && action.key === 'style.editor.fontFamily' || action.type === 'SETTING_UPDATE_ALL') {
this.updateEditorFont();
}
@ -406,6 +410,8 @@ class Application extends BaseApplication {
argv = await super.start(argv);
bridge().autoUploadCrashDumps = Setting.value('autoUploadCrashDumps');
// this.crashDetectionHandler();
await this.applySettingsSideEffects();