diff --git a/README.md b/README.md index 2cd8eff..2d43d3f 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,12 @@ I am in no way affiliated with Jagex and running the launcher through linux is u ### Repo (easiest, automated updates) - If you don't understand the other sections, this below command is the only one you need to run to get the launcher running. - Open a terminal (konsole, etc) -- Run `curl -fSsL https://raw.githubusercontent.com/nmlynch94/com.jagexlauncher.JagexLauncher/main/install-jagex-launcher-repo.sh | bash` +- Run +``` +curl -fSsL https://raw.githubusercontent.com/nmlynch94/com.jagexlauncher.JagexLauncher/main/install-jagex-launcher-repo.sh | bash +``` - The Jagex Launcher will now show in your application menu or you can run with `flatpak run com.jagexlauncher.JagexLauncher` -- NOTE: The first run will take a bit due to the installation script. +- NOTE: The first run will take a bit due to the installation script. You will need to click update and then start the app again. - To update, simply run `flatpak update` or update in an app store that supports flatpaks ### Release Bundle (no automated updates) - This option will be going away once the repo option is proven to be stable diff --git a/icons/extract_icons.sh b/icons/extract_icons.sh index 1498eb1..066209d 100755 --- a/icons/extract_icons.sh +++ b/icons/extract_icons.sh @@ -7,10 +7,10 @@ python3 "$SCRIPT_DIR"/../jagex-launcher-linux/resources/installer.py JAGEX_EXE_NAME="JagexLauncher.exe" wrestool -x --output=icon.ico -t14 "$JAGEX_EXE_NAME" -convert icon.ico 256.png +convert icon.ico icon.png mkdir -p 256 -mv 256-0.png 256/256.png +mv icon-5.png 256/256.png # Cleanup -ls | grep -v "extract_icons.sh" | xargs -n1 rm +ls -p | grep -v / | grep -v "extract_icons.sh" | xargs -n1 rm rm -r locales \ No newline at end of file diff --git a/install-jagex-launcher-repo.sh b/install-jagex-launcher-repo.sh old mode 100644 new mode 100755 index 55bfff6..d1da30a --- a/install-jagex-launcher-repo.sh +++ b/install-jagex-launcher-repo.sh @@ -1,4 +1,4 @@ #!/bin/bash flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak remote-add --user --if-not-exists JLauncher https://nmlynch94.github.io/com.jagexlauncher.JagexLauncher/JagexLauncher.flatpakrepo -flatpak install -y --user --noninteractive com.jagexlauncher.JagexLauncher \ No newline at end of file +flatpak install -y --user --noninteractive JLauncher com.jagexlauncher.JagexLauncher \ No newline at end of file