diff --git a/.yarnrc b/.yarnrc index 4b4515bb7f5c6..eded0c0ad66ef 100644 --- a/.yarnrc +++ b/.yarnrc @@ -1,4 +1,4 @@ disturl "https://electronjs.org/headers" -target "19.1.3" +target "19.1.6" runtime "electron" build_from_source "true" diff --git a/cgmanifest.json b/cgmanifest.json index 5590e92a32283..315b64cf71b32 100644 --- a/cgmanifest.json +++ b/cgmanifest.json @@ -528,12 +528,12 @@ "git": { "name": "electron", "repositoryUrl": "https://github.com/electron/electron", - "commitHash": "83077e9b97c55cd4f9f641530442bcfd1c2ab949" + "commitHash": "165d5a2547bfc5ff22cd98950bca7fcddb7dea9d" } }, "isOnlyProductionDependency": true, "license": "MIT", - "version": "19.1.3" + "version": "19.1.6" }, { "component": { diff --git a/package.json b/package.json index 12fafbd118dfa..e9f119bfa6e90 100644 --- a/package.json +++ b/package.json @@ -141,7 +141,7 @@ "cssnano": "^4.1.11", "debounce": "^1.0.0", "deemon": "^1.8.0", - "electron": "19.1.3", + "electron": "19.1.6", "eslint": "8.7.0", "eslint-plugin-header": "3.1.1", "eslint-plugin-jsdoc": "^39.3.2", diff --git a/src/main.js b/src/main.js index 25cdfbb6715bd..1cb2b8721fa81 100644 --- a/src/main.js +++ b/src/main.js @@ -237,6 +237,11 @@ function configureCommandlineSwitchesSync(cliArgs) { */ app.commandLine.appendSwitch('disable-features', 'CalculateNativeWinOcclusion'); + /* Following features are enabled from the runtime. + * `AutoDisableAccessibility` - https://github.com/microsoft/vscode/issues/162331#issue-1390744354 + */ + app.commandLine.appendSwitch('enable-features', 'AutoDisableAccessibility'); + // Support JS Flags const jsFlags = getJSFlags(cliArgs); if (jsFlags) { diff --git a/yarn.lock b/yarn.lock index 036f288eec67e..677f6fa43dc81 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3912,10 +3912,10 @@ electron-to-chromium@^1.4.202: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.207.tgz#9c3310ebace2952903d05dcaba8abe3a4ed44c01" integrity sha512-piH7MJDJp4rJCduWbVvmUd59AUne1AFBJ8JaRQvk0KzNTSUnZrVXHCZc+eg+CGE4OujkcLJznhGKD6tuAshj5Q== -electron@19.1.3: - version "19.1.3" - resolved "https://registry.yarnpkg.com/electron/-/electron-19.1.3.tgz#90a2b6c3d738789d657477d87d1539f008be6536" - integrity sha512-P2kfFc8UqVvPHE1w9qTZSPNpfOqd+CK34K3wBqJwokzYdVBLsVkbIoLxyByjJ/cU35WaeCL5bsI8kXALfPvebw== +electron@19.1.6: + version "19.1.6" + resolved "https://registry.yarnpkg.com/electron/-/electron-19.1.6.tgz#32443cd293d3d877cd3d224e45880e3fbf264e49" + integrity sha512-bT6Mr7JbHbONpr/U7R47lwTkMUvuAyOfnoLlbDqvGocQyZCCN3JB436wtf2+r3/IpMEz3T+dHLweFDY5i2wuxw== dependencies: "@electron/get" "^1.14.1" "@types/node" "^16.11.26"