Ajout du script
This commit is contained in:
commit
97ac8f898a
1 changed files with 8 additions and 0 deletions
8
updateVSCodium.sh
Normal file
8
updateVSCodium.sh
Normal file
|
@ -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
|
Reference in a new issue