(experiment) re-enable product.json changes

This commit is contained in:
Peter Squicciarini 2020-09-18 13:10:28 -07:00
parent 2c98e24e2d
commit 8c5166cd56
No known key found for this signature in database
GPG key ID: 08B897BCAB6763CB

View file

@ -30,7 +30,7 @@ if [[ "$BUILDARCH" == *"arm"* ]]; then
npx electron-rebuild -f -w vscode-sqlite3
fi
# mv product.json product.json.bak
mv product.json product.json.bak
# set fields in product.json
tipsAndTricksUrl='setpath(["tipsAndTricksUrl"]; "https://go.microsoft.com/fwlink/?linkid=852118")'
@ -63,7 +63,7 @@ extensionAllowedProposedApi='setpath(["extensionAllowedProposedApi"]; getpath(["
serverDataFolderName='setpath(["serverDataFolderName"]; ".vscode-server-oss")'
product_json_changes="${tipsAndTricksUrl} | ${twitterUrl} | ${requestFeatureUrl} | ${documentationUrl} | ${introductoryVideosUrl} | ${extensionAllowedBadgeProviders} | ${updateUrl} | ${releaseNotesUrl} | ${keyboardShortcutsUrlMac} | ${keyboardShortcutsUrlLinux} | ${keyboardShortcutsUrlWin} | ${quality} | ${extensionsGallery} | ${linkProtectionTrustedDomains} | ${nameShort} | ${nameLong} | ${linuxIconName} | ${applicationName} | ${win32MutexName} | ${win32DirName} | ${win32NameVersion} | ${win32RegValueName} | ${win32AppUserModelId} | ${win32ShellNameShort} | ${win32x64UserAppId} | ${urlProtocol} | ${extensionAllowedProposedApi} | ${serverDataFolderName}"
# cat product.json.bak | jq "${product_json_changes}" > product.json
cat product.json.bak | jq "${product_json_changes}" > product.json
cat product.json
# ../undo_telemetry.sh