1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Desktop: Fixes #3645: Improved handling of startup errors, and prevent window from being invisible when upgrading sync target

This commit is contained in:
Laurent Cozic
2020-09-01 22:25:23 +01:00
parent c01219e6be
commit bdfb6b97f5
7 changed files with 17 additions and 7 deletions

View File

@ -167,6 +167,12 @@ class BaseApplication {
continue;
}
if (arg == '--debug') {
// Currently only handled by ElectronAppWrapper (isDebugMode property)
argv.splice(0, 1);
continue;
}
if (arg == '--update-geolocation-disabled') {
Note.updateGeolocationEnabled_ = false;
argv.splice(0, 1);