Finished VScodium patch script
This commit is contained in:
parent
5141107558
commit
8482ac2af7
1 changed files with 3 additions and 1 deletions
|
@ -10,4 +10,6 @@ JSON_STRING=$(echo "$JSON_STRING" | jq '.extensionsGallery.serviceUrl = $newVal'
|
|||
JSON_STRING=$(echo "$JSON_STRING" | jq '.extensionsGallery.cacheUrl = $newVal' --arg newVal "$CACHE_URL")
|
||||
JSON_STRING=$(echo "$JSON_STRING" | jq '.extensionsGallery.itemUrl = $newVal' --arg newVal "$ITEM_URL")
|
||||
JSON_STRING=$(echo "$JSON_STRING" | jq 'del(.linkProtectionTrustedDomains)')
|
||||
echo "$JSON_STRING" | jq '.linkProtectionTrustedDomains'
|
||||
sudo cp $PRODUCT_JSON $PRODUCT_JSON.bkup
|
||||
echo "$JSON_STRING" | jq . | sudo tee $PRODUCT_JSON
|
||||
|
||||
|
|
Loading…
Reference in a new issue