You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Desktop: Allow --no-sandbox flag to go around AppImage limitation (#2436)
This commit is contained in:
		| @@ -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 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user