add menu launcher to minecraft

pull/20/head
Botspot 5 years ago
parent 0b323148c2
commit e0cd9e1e68

@ -15,4 +15,15 @@ sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub
#Install through flatpak
flatpak install -y flathub io.mrarm.mcpelauncher || error 'Failed to install launcher!'
read -p 'You must reboot for the new Minecraft Bedrock menu launcher to appear. Press Enter to close.'
#Make Desktop file
echo '[Desktop Entry]
Version=1.1
Type=Application
Name=Minecraft Bedrock Launcher
Comment=A Minecraft: Bedrock Edition
Icon=/var/lib/flatpak/exports/share/icons/hicolor/scalable/apps/io.mrarm.mcpelauncher.svg
Exec=/usr/bin/flatpak run --branch=stable --arch=arm --command=mcpelauncher-ui-qt io.mrarm.mcpelauncher
Categories=Game;' > /home/pi/.local/share/applications/minecraftbedrock.desktop
#echo 'Please please reboot your pi to finish installation'

Loading…
Cancel
Save