Last active
July 16, 2025 20:37
-
-
Save eyedeekay/007742c4324315a49fe30f72fd7fe62e to your computer and use it in GitHub Desktop.
RuneLite Setup Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd "$HOME" | |
| mkdir -p "$HOME/RuneScape" | |
| cd "$HOME/RuneScape" || exit 1 | |
| tag_name=$(curl -s https://api.github.com/repos/runelite/launcher/releases/latest | jq -r .tag_name) | |
| wget -c https://github.com/runelite/launcher/releases/download/$tag_name/RuneLite.AppImage | |
| chmod +x RuneLite.AppImage | |
| path="$HOME/RuneScape/RuneLite.AppImage" | |
| ./RuneLite.AppImage --appimage-extract | |
| cd squashfs-root | |
| file=$(ls *.desktop) | |
| if [ -f "$HOME/.local/share/applications/$file" ]; then | |
| echo "runelite is already installed, check the launcher menu" | |
| exit 1 | |
| fi | |
| grep -v "Exec=" "$file" | tee "$HOME/.local/share/applications/$file" | |
| echo "Exec=$path" | tee -a "$HOME/.local/share/applications/$file" | |
| chmod +x "$HOME/.local/share/applications/$file" | |
| mkdir -p "$HOME/.local/share/icons/" | |
| cp -v *.png "$HOME/.local/share/icons/" | |
| cd "$HOME/RuneScape/" | |
| rm -rfv squashfs-root | |
| update-desktop-database ~/.local/share/applications/ | |
| if [ -f "$HOME/.local/share/applications/$file" ]; then | |
| echo "runelite is installed, check the launcher menu" | |
| exit 0 | |
| fi | |
| curl -s https://gist.github.com/eyedeekay/007742c4324315a49fe30f72fd7fe62e/raw/c9cc5b87914a1be31bb96af305598c4758d93877/runelite-install.sh | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment