Emplacement de VSCodium toujours dans ~
This commit is contained in:
parent
5a655f3ec8
commit
f4a1b2c719
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
|||
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
|
||||
[ -f $HOME/VSCodium.AppImage ] && rm $HOME/VSCodium.AppImage
|
||||
wget -q --show-progress -i url -O VSCodium.AppImage
|
||||
rm url
|
||||
chmod u+x VSCodium.AppImage
|
||||
[ -f $HOME/VSCodium.AppImage ] || mv VSCodium.AppImage $HOME/VSCodium.AppImage
|
||||
|
|
Reference in a new issue