Fix the thing™️

pull/683/head
Alvarito050506 4 years ago
parent f9d229b644
commit fd79c7b1b3

@ -1,4 +1,4 @@
Game mods made by TheBrokenRail#5376 on Discord Game mods and jMCPIL made by TheBrokenRail#5376 on Discord
Launcher made by Alvarito050506#8207 on Discord gMCPIL made by Alvarito050506#8207 on Discord
Ported to pi-apps by TheBrokenRail#5376 on Discord with a little help from Botspot. Ported to Pi-Apps by TheBrokenRail#5376 on Discord with a little help from Botspot.

@ -1,5 +1,5 @@
A modded version of Minecraft: Pi Edition with things like survival mode, multiplayer support and more! A modded version of Minecraft: Pi Edition with things like survival mode, multiplayer support, and more!
To open the launcher: Menu > Games > MCPIL. Use the launcher to set up mods and multiplayer. To open the launcher: Menu > Games > gMCPIL or jMCPIL, depending on which version you chose at install time. Use the launcher to set up mods and multiplayer.
Need help? Consider asking on MCPI Modded's Discord server instead: https://discord.gg/3wXu3xtr Need help? Consider asking on MCPI Modded's Discord server instead: https://discord.gg/3wXu3xtr

@ -24,26 +24,25 @@ fi
# Remove Old Minecraft Pi # Remove Old Minecraft Pi
sudo apt-get remove -y minecraft-pi &>/dev/null || true sudo apt-get remove -y minecraft-pi &>/dev/null || true
sudo apt-get remove -y mcpil-r &>/dev/null || true sudo apt-get remove -y mcpil-r mcpil &>/dev/null || true
sudo apt-get remove -y minecraft-pi-reborn-native &>/dev/null || true
wget -qO- https://raw.githubusercontent.com/MCPI-Revival/mcpi-packages/master/install.sh || bash || error "Failed to install apt repo!" wget -qO- https://raw.githubusercontent.com/MCPI-Revival/mcpi-packages/master/install.sh | bash &>/dev/null || error "Failed to install apt repo!"
# Choose MCPIL to use # Choose MCPIL to use
PS3='Which launcher for MCPI Modded would you like to use? (Need help deciding? Ask here: https://discord.com/invite/aDqejQGMMy): ' PS3='Which launcher for MCPI Modded would you like to use? (Need help deciding? Ask here: https://discord.com/invite/aDqejQGMMy): '
options=("gMCPIL (more features) (recommended)" "jMCPIL (better looking UI) (requires ~100mb installation of JRE)" "Quit") options=("gMCPIL (recommended)" "jMCPIL (better GUI)" "Quit")
select opt in "${options[@]}" select opt in "${options[@]}"
do do
case $opt in case $opt in
"gMCPIL (reccomended)") "${options[0]}")
"${DIRECTORY}/pkg-install" "gmcpil minecraft-pi-reborn-native" "$(dirname "$0")" || exit 1 "${DIRECTORY}/pkg-install" "minecraft-pi-reborn-native gmcpil" "$(dirname "$0")" || exit 1
break;; break;;
"jMCPIL (better looking UI)") "${options[1]}")
"${DIRECTORY}/pkg-install" "jmcpil minecraft-pi-reborn-native" "$(dirname "$0")" || exit 1 "${DIRECTORY}/pkg-install" "minecraft-pi-reborn-native jmcpil" "$(dirname "$0")" || exit 1
break;; break;;
"Quit") "${options[2]}")
break;; break;;
*) echo "invalid option $REPLY";; *) echo "Invalid option: $REPLY";;
esac esac
done done

Loading…
Cancel
Save