This commit is contained in:
Tristan Partin 2021-11-26 20:27:22 +01:00 committed by GitHub
commit 4956f8b303
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,6 +48,11 @@ else
fi
fi
# if the user has GTK_USE_PORTAL defined in their evironment, respect it
if [ -z "${GTK_USE_PORTAL}" ]; then
export GTK_USE_PORTAL=1
fi
ELECTRON="$VSCODE_PATH/@@NAME@@"
CLI="$VSCODE_PATH/resources/app/out/cli.js"
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --ms-enable-electron-run-as-node "$@"