From 97ac8f898ad2dffb7a3706d7e69ccba18df6dc22 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 21 Oct 2021 19:55:41 +0200 Subject: [PATCH] Ajout du script --- updateVSCodium.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 updateVSCodium.sh diff --git a/updateVSCodium.sh b/updateVSCodium.sh new file mode 100644 index 0000000..07074d2 --- /dev/null +++ b/updateVSCodium.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +wget -q https://api.github.com/repos/VSCodium/vscodium/releases/latest +grep -n 'browser_download_url": ".*.AppImage"' latest | awk '{ print substr ($0, 36 ) }' | awk '{ print substr( $0, 1, length($0)-1 ) }' > url +rm latest +wget -q --show-progress -i url -O VSCodium.AppImage +rm url +chmod u+x VSCodium.AppImage