So I was working on this script to auto install minecraft and i began to wonder is there a better way to do this?
#!/bin/bash sudo apt-get upgrade sudo apt-get update sudo apt-get autoclean echo " Jobs Done!" sudo add-apt-repository ppa:webupd8team/java sudo apt update; sudo apt install oracle-java8-installer sudo apt install oracle-java8-set-default sudo apt-get install default-jre sudo apt-get autoclean sudo add-apt-repository ppa:flexiondotorg/minecraft sudo apt-get install minecraft-installer sudo apt-get autoclean echo "This world is about to get crafty!" cd .minecraft chmod 777 launcher.jar java -Xmx3G -Xms3G -jar launcher.jar
The reason I ask is I wanted to make a way to easily install and then open minecraft for my friends that are a little less tech savy but could at least run a script. Would be curious the thought on the matter.