diff --git a/common/apps/snap/barrier.sh b/common/apps/barrier.sh similarity index 64% rename from common/apps/snap/barrier.sh rename to common/apps/barrier.sh index 6883483..e73ad68 100644 --- a/common/apps/snap/barrier.sh +++ b/common/apps/barrier.sh @@ -2,5 +2,5 @@ install_barrier() { echo "Installing barrier" - sudo snap install barrier + sudo apt-get install barrier -y } diff --git a/common/apps/snap/vscode.sh b/common/apps/snap/vscode.sh deleted file mode 100644 index 13136a0..0000000 --- a/common/apps/snap/vscode.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -install_vscode() { - echo "Installing VS Code" - sudo snap install --classic code -} \ No newline at end of file diff --git a/common/apps/vscode.sh b/common/apps/vscode.sh new file mode 100644 index 0000000..d153633 --- /dev/null +++ b/common/apps/vscode.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +install_vscode() { + echo "Installing VS Code" + curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - + sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" + sudo apt-get update + sudo apt-get install code -y +} \ No newline at end of file diff --git a/common/scripts/first_install.sh b/common/scripts/first_install.sh index 49b31ed..f89a000 100644 --- a/common/scripts/first_install.sh +++ b/common/scripts/first_install.sh @@ -3,5 +3,5 @@ first_install() { echo 'Installing useful apps' - sudo apt-get install net-tools nano htop tree zip unzip -y + sudo apt-get install net-tools nano htop tree zip unzip curl wget -y }