15 lines
438 B
Bash
15 lines
438 B
Bash
|
# On récupère la dernière version de MultiMC
|
||
|
wget -q https://api.github.com/repos/MultiMC/Launcher/releases/latest
|
||
|
echo "Retrieve the last package..."
|
||
|
grep 'browser_download_url": ".*.deb"' latest | awk '{ print substr ($0, 32 ) }' | awk '{ print substr( $0, 1, length($0)-1 ) }' > url
|
||
|
rm latest
|
||
|
|
||
|
wget -q --show-progress -i url -O MultiMC.deb
|
||
|
rm url
|
||
|
|
||
|
sudo apt install ./MultiMC.deb -y
|
||
|
rm MultiMC.deb
|
||
|
|
||
|
echo ""
|
||
|
echo "MultiMC installed!"
|