From c4c7d298e0525612ade34c26a552caf806580e7c Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Fri, 22 Nov 2024 09:41:05 +0800 Subject: [PATCH] vscode deb --- Makefile | 14 +++++++++++++- install/snap | 4 ++-- install/vscode | 18 ++++++++++++++++++ 3 files changed, 33 insertions(+), 3 deletions(-) create mode 100755 install/vscode diff --git a/Makefile b/Makefile index 9bdf117..8b30d43 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Autogenerated at 02.08.2024 00:03 using ./gen-makefile +# Autogenerated at 22.11.2024 09:40 using ./gen-makefile .DEFAULT_GOAL := help #=============================================== @@ -81,6 +81,10 @@ kde-file-templates: kde-portal: @./install/kde-portal +##lazynvim: +lazynvim: + @./install/lazynvim + ##libreoffice: Install libreoffice libreoffice: @./install/libreoffice @@ -193,6 +197,10 @@ ulauncher: vivaldi: @./install/vivaldi +##vscode: VSCode deb-package +vscode: + @./install/vscode + ##wine: Install wine (latest) + ppa (focal) wine: @./install/wine @@ -262,6 +270,10 @@ phpstack: php phptools /grub-customizer: @./uninstall/grub-customizer +##/lazynvim: +/lazynvim: + @./uninstall/lazynvim + ##/lite-xl: Uninstall lite-xl /lite-xl: @./uninstall/lite-xl diff --git a/install/snap b/install/snap index 97ae0a1..bdb804c 100755 --- a/install/snap +++ b/install/snap @@ -26,8 +26,8 @@ fi # snapi gtk2-common-themes snapi peek -snapi telegram-desktop -snapi code +# snapi telegram-desktop #todo +# snapi code # deb https://github.com/microsoft/vscode/issues/221836 snapi skype snapi dbeaver-ce # snapi mysql-workbench-community diff --git a/install/vscode b/install/vscode new file mode 100755 index 0000000..2d1e47b --- /dev/null +++ b/install/vscode @@ -0,0 +1,18 @@ +#!/bin/bash +##makedesc: VSCode deb-package +source `dirname $0`/../helpers || exit 255 + +title + +mkdir -p "$HOME/install" + +download "https://code.visualstudio.com/docs/?dv=linux64_deb" \ + "$HOME/install/vscode.deb" && \ + sudo dpkg -i "$HOME/install/vscode.deb" + +[ $? = 0 ] && { + echo + success "VSCode installed" + vscode --version + echo +}