Skip to content

Instantly share code, notes, and snippets.

@QuanTrieuPCYT
Last active April 19, 2024 10:36
Show Gist options
  • Save QuanTrieuPCYT/225a30c76d7e1cd748f22d3583fe6633 to your computer and use it in GitHub Desktop.
Save QuanTrieuPCYT/225a30c76d7e1cd748f22d3583fe6633 to your computer and use it in GitHub Desktop.
Script to remove JavaCheck.jar on Minecraft Launcher on macOS Platforms
#!/bin/bash
file_path="~/Library/Application
Support/minecraft/launcher/launcher.bundle/Contents/Resources/JavaCheck.jar"
if [ -e "$file_path" ]; then
rm -R "$file_path"
echo "Minecraft Launcher's JavaCheck.jar deleted!"
else
echo "Minecraft Launcher's JavaCheck.jar not found!"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment