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,5 +1,9 @@
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'
sudo apt install ./code.deb
rm code.deb
cd -
mkdir -p ~/.config/Code/User mkdir -p ~/.config/Code/User
cp ~/.local/share/omakub/configs/vscode.json ~/.config/Code/User/settings.json cp ~/.local/share/omakub/configs/vscode.json ~/.config/Code/User/settings.json
@ -9,4 +13,3 @@ if [ -n "$FORCE" ] || ! command -v code &>/dev/null; then
code --install-extension Catppuccin.catppuccin-vsc code --install-extension Catppuccin.catppuccin-vsc
code --install-extension mvllow.rose-pine code --install-extension mvllow.rose-pine
code --install-extension sainnhe.everforest code --install-extension sainnhe.everforest
fi