mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Desktop: Allow --no-sandbox flag to go around AppImage limitation (#2436)
This commit is contained in:
parent
aef4a88d7f
commit
69fc518e39
@ -176,6 +176,14 @@ class BaseApplication {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (arg === '--no-sandbox') {
|
||||
// Electron-specific flag for running the app without chrome-sandbox
|
||||
// Allows users to use it as a workaround for the electron+AppImage issue
|
||||
// https://github.com/laurent22/joplin/issues/2246
|
||||
argv.splice(0, 1);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (arg.length && arg[0] == '-') {
|
||||
throw new JoplinError(_('Unknown flag: %s', arg), 'flagError');
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user