Desktop: Seamless-Updates - creation of update notification (#10791)

This commit is contained in:
Alice authored and GitHub committed 2024-08-08 10:49:21 +01:00
1 parent 24731edf92
commit 88b3c7f526
7 files changed
+145 -1

No files matched your search

+7
View File
@@ -174,6 +174,13 @@ const processStartFlags = async (argv: string[], setDefaults = true) => {
continue;
}
if (arg === '--updated') {
// Electron-specific flag - ignore it
// Allows to restart with the updated application after the update option is selected by the user
argv.splice(0, 1);
continue;
}
if (arg.length && arg[0] === '-') {
throw new JoplinError(_('Unknown flag: %s', arg), 'flagError');
} else {