Minecraft Java: first remove ~/Minecraft folder

pull/931/head
Botspot 3 years ago
parent 2b263b147e
commit b45c32ba4e

@ -7,12 +7,8 @@ function error {
exit 1
}
#use the error function often!
#If a certain command is necessary for installation to continue, then add this to the end of it:
# || error 'reason'
#example below:
#Run modified setupMC.sh
rm -rf ~/Minecraft || sudo rm -rf ~/Minecraft || error "Failed to first remove ~/Minecraft folder!"
mkdir -p ~/Minecraft && cd ~/Minecraft && wget https://github.com/chunky-milk/Minecraft/raw/main/setupMC.sh && chmod +x setupMC.sh && ./setupMC.sh || error 'Failed to install the launcher!'
#Move launcher to /usr/share/

Loading…
Cancel
Save