Skip to content

Commit

Permalink
Merge branch 'remigermain-feat(manager)--add-vscodium'
Browse files Browse the repository at this point in the history
* remigermain-feat(manager)--add-vscodium:
  Update vscode.py
  Update pool.py
  feat(manager): add vscodium
  • Loading branch information
kdeldycke committed Oct 27, 2024
2 parents a6c3933 + b76f019 commit a9c2b2e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
7 changes: 6 additions & 1 deletion meta_package_manager/managers/vscode.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def install(self, package_id: str, version: str | None = None) -> str:
β–Ί code --install-extension tamasfe.even-better-toml
"""
return self.run_cli("--install-extension", package_id)

def remove(self, package_id: str) -> str:
"""Remove one package.
Expand All @@ -82,3 +82,8 @@ def remove(self, package_id: str) -> str:
β–Ί code --uninstall-extension tamasfe.even-better-toml
"""
return self.run_cli("--uninstall-extension", package_id)


class VSCodium(VSCode):
homepage_url = "https://vscodium.com"
cli_names = ("codium",)
3 changes: 2 additions & 1 deletion meta_package_manager/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
from .managers.snap import Snap
from .managers.steamcmd import SteamCMD
from .managers.uv import UV
from .managers.vscode import VSCode
from .managers.vscode import VSCode, VSCodium
from .managers.winget import WinGet
from .managers.yarn import Yarn
from .managers.zypper import Zypper
Expand Down Expand Up @@ -82,6 +82,7 @@
SteamCMD,
UV,
VSCode,
VSCodium,
WinGet,
Yarn,
Yay,
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ keywords = [
'uv',
'visual studio code',
'vscode',
'vscodium',
'xbar',
'swiftbar',
'winget',
Expand Down
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ Meta Package Manager,snap,1
Meta Package Manager,steamcmd,1
Meta Package Manager,uv,1
Meta Package Manager,vscode,1
Meta Package Manager,vscodium,1
Meta Package Manager,winget,1
Meta Package Manager,yarn,1
Meta Package Manager,yay,1
Expand Down Expand Up @@ -132,7 +133,8 @@ Meta Package Manager,zypper,1
| [`snap`](https://snapcraft.io) | 2.0.0 | πŸ…±οΈ | 🐧 | | `>_` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | |
| [`steamcmd`](https://developer.valvesoftware.com/wiki/SteamCMD) | None | πŸ…±οΈ | 🐧 | 🍎 | `>_` | πŸͺŸ | | | | βœ“ | | | | | |
| [`uv`](https://astral.sh) | 0.1.45 | πŸ…±οΈ | 🐧 | 🍎 | `>_` | πŸͺŸ | βœ“ | | | βœ“ | βœ“ | | βœ“ | | |
| [`vscode`](https://code.visualstudio.com) | 1.60.0 | πŸ…±οΈ | 🐧 | 🍎 | `>_` | πŸͺŸ | βœ“ | | | βœ“ | | | βœ“ | | |
| [`vscode`](https://code.visualstudio.com) | 1.60.0 | πŸ…±οΈ | 🐧 | 🍎 | `>_` | πŸͺŸ | βœ“ | | | βœ“ | | | βœ“ | | |
| [`vscodium`](https://vscodium.com/) | 1.60.0 | πŸ…±οΈ | 🐧 | 🍎 | `>_` | πŸͺŸ | βœ“ | | | βœ“ | | | βœ“ | | |
| [`winget`](https://github.com/microsoft/winget-cli) | 1.7 | | | | | πŸͺŸ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | |
| [`yarn`](https://yarnpkg.com) | 1.20.0 | πŸ…±οΈ | 🐧 | 🍎 | `>_` | πŸͺŸ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | βœ“ |
| [`yay`](https://github.com/Jguer/yay) | 11.0.0 | πŸ…±οΈ | 🐧 | | `>_` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
Expand Down

0 comments on commit a9c2b2e

Please sign in to comment.