Install vscode directly, not through snap
This commit is contained in:
parent
8183ace3a4
commit
09393ffbaf
@ -1,5 +1,9 @@
|
||||
if [ -n "$FORCE" ] || ! command -v code &>/dev/null; then
|
||||
sudo snap install code --classic
|
||||
cd ~/Downloads
|
||||
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
|
||||
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 mvllow.rose-pine
|
||||
code --install-extension sainnhe.everforest
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user