Skip to content

Instantly share code, notes, and snippets.

@rojnwa
Created August 2, 2020 00:50
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save rojnwa/976ecf2bde0b09bfd64a6f26f7101d7e to your computer and use it in GitHub Desktop.
Save rojnwa/976ecf2bde0b09bfd64a6f26f7101d7e to your computer and use it in GitHub Desktop.
Reverts to the old marketplace in VSCodium
import json
file_path = "/usr/share/vscodium-bin/resources/app/product.json"
with open(file_path, "r") as f:
config = json.load(f)
config["extensionsGallery"]["serviceUrl"] = "https://marketplace.visualstudio.com/_apis/public/gallery"
config["extensionsGallery"]["cacheUrl"] = "https://vscode.blob.core.windows.net/gallery/index"
config["extensionsGallery"]["itemUrl"] = "https://marketplace.visualstudio.com/items"
with open(file_path, "w") as f:
json.dump(config, f, indent=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment