mirror of
https://github.com/laurent22/joplin.git
synced 2026-10-25 02:47:28 +00:00
Desktop: Seamless-Updates - creation of update notification (#10791)
This commit is contained in:
1 parent
24731edf92
commit
88b3c7f526
7 files changed
+145
-1
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user