File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const { getUserDataPath } = require('./vs/platform/environment/node/userDataPath
24
24
const { stripComments } = require ( './vs/base/common/stripComments' ) ;
25
25
/** @type {Partial<IProductConfiguration> } */
26
26
const product = require ( '../product.json' ) ;
27
- const { app, protocol, crashReporter } = require ( 'electron' ) ;
27
+ const { app, protocol, crashReporter, Menu } = require ( 'electron' ) ;
28
28
29
29
// Enable portable support
30
30
const portable = bootstrapNode . configurePortable ( product ) ;
@@ -43,6 +43,9 @@ const codeCachePath = getCodeCachePath();
43
43
// Configure static command line arguments
44
44
const argvConfig = configureCommandlineSwitchesSync ( args ) ;
45
45
46
+ // Disable default menu (https://github.com/electron/electron/issues/35512)
47
+ Menu . setApplicationMenu ( null ) ;
48
+
46
49
// Configure crash reporter
47
50
perf . mark ( 'code/willStartCrashReporter' ) ;
48
51
// If a crash-reporter-directory is specified we store the crash reports
You can’t perform that action at this time.
0 commit comments