Created
August 2, 2020 00:50
-
-
Save rojnwa/976ecf2bde0b09bfd64a6f26f7101d7e to your computer and use it in GitHub Desktop.
Reverts to the old marketplace in VSCodium
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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