Install vscode directly, not through snap

This commit is contained in:
David Heinemeier Hansson 2024-06-04 13:46:38 -07:00
parent 8183ace3a4
commit 09393ffbaf

View File

@ -1,12 +1,15 @@
if [ -n "$FORCE" ] || ! command -v code &>/dev/null; then cd ~/Downloads
sudo snap install code --classic wget -O code.deb 'https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64'
mkdir -p ~/.config/Code/User sudo apt install ./code.deb
cp ~/.local/share/omakub/configs/vscode.json ~/.config/Code/User/settings.json rm code.deb
cd -
# Install default supported themes mkdir -p ~/.config/Code/User
code --install-extension enkia.tokyo-night cp ~/.local/share/omakub/configs/vscode.json ~/.config/Code/User/settings.json
code --install-extension jdinhlife.gruvbox
code --install-extension Catppuccin.catppuccin-vsc # Install default supported themes
code --install-extension mvllow.rose-pine code --install-extension enkia.tokyo-night
code --install-extension sainnhe.everforest code --install-extension jdinhlife.gruvbox
fi code --install-extension Catppuccin.catppuccin-vsc
code --install-extension mvllow.rose-pine
code --install-extension sainnhe.everforest