This repository has been archived on 2022-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
manjaroConfiguration/installMultiMC.sh
2021-12-01 11:46:38 +01:00

14 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!"