summarylogtreecommitdiffstats
path: root/patch.sh
AgeCommit message (Collapse)Author
2023-08-13Update to 1.81.1Sainnhe Park
2023-05-06Update to 1.78.0Sainnhe Park
2023-02-15Update to 1.75.1Sainnhe Park
2022-11-04Update to 1.73.0Sainnhe Park
2022-10-09Update to 1.72.0Sainnhe Park
2022-08-06Support for extension tipsSainnhe Park
2022-08-06Update to 1.70.0Sainnhe Park
The patch.sh has been completely rewritten, with more clear explanation in comment, detection for if product.json has already been patched and more keys in "extensionsGallery".
2022-04-01Add new json keysSainnhe Park
- Add `linkProtectionTrustedDomains`. - Add `resourceUrlTemplate`. - Add `controlUrl`.
2021-04-06fix updating bugSainnhe Park
2021-04-06depend on code-featuresSainnhe Park
2021-04-05fix sed commandSainnhe Park
2021-04-05[Break Change] Unblock some extensions that are specific to the official buildSainnhe Park
What this package did before this update is simply patching the `"extensionsGallery"` section in `/usr/lib/code/product.json` to let code oss use vscode marketplace. This can be implemented via patching from a single diff file. But I want to add an extra feature -- unblock some extensions that are specific to the official build. You may have noticed that some extensions like pylance and remote-ssh doesn't work in code oss, this can be fixed via patching the `"nameLong"` and `"extensionAllowedProposedApi"` section in `/usr/lib/code/product.json` (thanks to [@Lightsword](https://www.reddit.com/r/linux/comments/k0s8qw/vs_code_developers_prevent_running_the_new/gdmdqkb/)). But patching these two section can't be done via the `patch` command, because the generated diff file contains many parts that are frequently changed. That's said, a diff file will no longer work after a new version of vscode is released, so I have to use `sed` to manually patch it, but this will produce an error during this update as you may have already noticed. To fix it, execute the following commands: 1. Remove the product.json.orig file: `sudo rm /usr/lib/code/product.json.orig`. 2. Reinstall the `code` package: `sudo pacman -S code`.
2020-12-05revertSainnhepark
2020-12-04rename patch fileSainnhepark
2020-12-04use a shell script to run the hookSainnhepark