Skip to content

Commit f3bd912

Browse files
Bring node fix to release branch (#16661)
* port main fix #16629 * bump version * Updates with more fixes --------- Co-authored-by: Don Jayamanne <[email protected]>
1 parent b5f1185 commit f3bd912

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.vscodeignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ images/**
55
docs/**
66
*.vsix
77
.appveyor.yml
8+
.config/**
89
.devcontainer*/**
910
.editorconfig
1011
.env
@@ -18,7 +19,9 @@ docs/**
1819
.npmrc
1920
.nvmrc
2021
.nycrc
22+
.ruff_cache/**
2123
.travis.yml
24+
.vscode-test.mjs
2225
api/**
2326
CODE_OF_CONDUCT.md
2427
CODING_STANDARDS.md
@@ -83,6 +86,7 @@ obj/**
8386
logs/**
8487
out/**
8588
precommit.hook
89+
pythonFiles/.env
8690
pythonFiles/**/*.pyc
8791
pythonFiles/lib/**/*.dist-info/**
8892
pythonFiles/lib/**/*.egg-info/**

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jupyter",
33
"displayName": "Jupyter",
4-
"version": "2025.4.0",
4+
"version": "2025.4.1",
55
"description": "Jupyter notebook support, interactive programming and computing that supports Intellisense, debugging and more.",
66
"publisher": "ms-toolsai",
77
"author": {

src/platform/vscode-path/platform.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ if (typeof globals.vscode !== 'undefined' && typeof globals.vscode.process !== '
6363
}
6464

6565
const isElectronProcess = typeof nodeProcess?.versions?.electron === 'string';
66-
const isElectronRenderer = isElectronProcess && nodeProcess?.type === 'renderer';
66+
const isElectronRenderer =
67+
isElectronProcess && nodeProcess?.type && ['renderer', 'utility'].includes(nodeProcess?.type);
6768
export const isElectronSandboxed = isElectronRenderer && nodeProcess?.sandboxed;
6869

6970
interface INavigator {

0 commit comments

Comments
 (0)