File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,18 @@ const { getUNCHost, addUNCHostToAllowlist } = require('./vs/base/node/unc');
27
27
const product = require ( '../product.json' ) ;
28
28
const { app, protocol, crashReporter, Menu } = require ( 'electron' ) ;
29
29
30
- // Enable sandbox globally unless disabled via `--no-sandbox` argument
31
- const args = parseCLIArgs ( ) ;
32
- if ( args [ 'sandbox' ] ) {
33
- app . enableSandbox ( ) ;
34
- }
35
-
36
30
// Enable portable support
37
31
const portable = bootstrapNode . configurePortable ( product ) ;
38
32
39
33
// Enable ASAR support
40
34
bootstrap . enableASARSupport ( ) ;
41
35
36
+ // Enable sandbox globally unless disabled via `--no-sandbox` argument
37
+ const args = parseCLIArgs ( ) ;
38
+ if ( args [ 'sandbox' ] ) {
39
+ app . enableSandbox ( ) ;
40
+ }
41
+
42
42
// Set userData path before app 'ready' event
43
43
const userDataPath = getUserDataPath ( args , product . nameShort ?? 'code-oss-dev' ) ;
44
44
if ( process . platform === 'win32' ) {
You can’t perform that action at this time.
0 commit comments