Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the script to work with 1.12.2 instead of 1.9 #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions mcresconvert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -677,9 +677,9 @@ elif [ "$choice" == "other" ]; then
# assume file name to zip is passed
convert_file "`$ZENITY --file-selection --file-filter="*.zip" 2> /dev/null`"
elif [ "$choice" == "default" ]; then
if ! cp ~/.minecraft/versions/1.9/1.9.jar /tmp/mc-default-1.9.zip ; then
if ! cp ~/.minecraft/versions/1.12.2/1.12.2.jar /tmp/mc-default-1.12.2.zip ; then
exit 1
fi
convert_file /tmp/mc-default-1.9.zip
rm /tmp/mc-default-1.9.zip
convert_file /tmp/mc-default-1.12.2.zip
rm /tmp/mc-default-1.12.2.zip
fi