From 8b5ad26b105991b89b5ff352c66bdea6fa23156e Mon Sep 17 00:00:00 2001 From: Crystal-RainSlide <16851802+Crystal-RainSlide@users.noreply.github.com> Date: Mon, 17 Oct 2022 17:11:34 +0800 Subject: [PATCH] fix: use setpath_json for trusted domains (#1294) --- prepare_vscode.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prepare_vscode.sh b/prepare_vscode.sh index b06f849..03b199a 100755 --- a/prepare_vscode.sh +++ b/prepare_vscode.sh @@ -59,7 +59,7 @@ if [[ "${OS_NAME}" == "osx" ]]; then yarn postinstall elif [[ "${npm_config_arch}" == "armv7l" || "${npm_config_arch}" == "ia32" ]]; then # node-gyp@9.0.0 shipped with node@16.15.0 starts using config.gypi - # from the custom headers path if dist-url option was set instead of + # from the custom headers path if dist-url option was set, instead of # using the config value from the process. Electron builds with pointer compression # enabled for x64 and arm64, but incorrectly ships a single copy of config.gypi # with v8_enable_pointer_compression option always set for all target architectures. @@ -94,7 +94,7 @@ setpath "product" "keyboardShortcutsUrlLinux" "https://go.microsoft.com/fwlink/? setpath "product" "keyboardShortcutsUrlMac" "https://go.microsoft.com/fwlink/?linkid=832143" setpath "product" "keyboardShortcutsUrlWin" "https://go.microsoft.com/fwlink/?linkid=832145" setpath "product" "licenseUrl" "https://github.com/VSCodium/vscodium/blob/master/LICENSE" -setpath "product" "linkProtectionTrustedDomains" '["https://open-vsx.org"]' +setpath_json "product" "linkProtectionTrustedDomains" '["https://open-vsx.org"]' setpath "product" "releaseNotesUrl" "https://go.microsoft.com/fwlink/?LinkID=533483#vscode" setpath "product" "reportIssueUrl" "https://github.com/VSCodium/vscodium/issues/new" setpath "product" "requestFeatureUrl" "https://go.microsoft.com/fwlink/?LinkID=533482"