Change ubuntu desktop name from "Multi MC 5" to "Minecraft"

This commit is contained in:
Mylloon 2021-12-26 20:00:05 +01:00
parent 7545d9c0be
commit 8d3748b34a
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -10,4 +10,9 @@ wget -q --show-progress -i ${BASH_REMATCH[1]} -O MultiMC.deb
sudo apt install ./MultiMC.deb -y
rm MultiMC.deb
# We change the Ubuntu desktop shortcut from MultiMC to Minecraft
if [ -f /usr/share/applications/multimc.desktop ] ; then
sudo sed -i "7s#.*#Name=Minecraft#" /usr/share/applications/multimc.desktop
fi
echo -e "\nMultiMC installed! 🎉"