### Installing osrs-launcher Binary (Shell) Source: https://github.com/aitoiaita/linux-jagex-launcher/blob/main/README.md This command copies the compiled osrs-launcher binary from the release build directory (`./target/release/`) to a directory within the user's PATH (`~/.local/bin/`). This allows the user to execute the launcher from any terminal location. ```sh cp ./target/release/osrs-launcher ~/.local/bin/ ``` -------------------------------- ### Creating RuneLite Wrapper Script (Shell) Source: https://github.com/aitoiaita/linux-jagex-launcher/blob/main/README.md These shell scripts demonstrate how to create a wrapper script named `runelite` that executes either a RuneLite JAR file or an AppImage. This script should be placed in a directory included in your system's PATH (e.g., `~/.local/bin`) and made executable using `chmod +x` so that RuneLite can be launched via the simple `runelite` command. ```sh #!/bin/sh java -jar path/to/RuneLite.jar ``` ```sh #!/bin/sh path/to/RuneLite.AppImage ``` -------------------------------- ### Building osrs-launcher (Cargo) Source: https://github.com/aitoiaita/linux-jagex-launcher/blob/main/README.md This command uses Cargo, the Rust package manager, to build the osrs-launcher project. The `-r` flag specifies a release build, which is optimized for performance. Cargo will automatically handle downloading necessary dependencies. ```sh cargo build -r ``` -------------------------------- ### Viewing osrs-launcher Usage Options (Shell) Source: https://github.com/aitoiaita/linux-jagex-launcher/blob/main/README.md This output displays the command-line interface options available for the osrs-launcher program. It shows how to specify a custom daemon port, kill a running daemon instance, clear stored credentials, or display the help message. ```sh Usage: osrs-launcher [OPTIONS] Options: -d, --daemon-port [default: 80] -k, --kill-daemon -c, --clear-creds -h, --help Print help ``` -------------------------------- ### Setting Network Capabilities (Shell) Source: https://github.com/aitoiaita/linux-jagex-launcher/blob/main/README.md This command uses `setcap` to grant the osrs-launcher binary the capability to bind to network ports below 1024 (specifically port 80 for the consent callback) without requiring root privileges. This is a security measure that allows non-root processes to perform privileged network operations. ```sh setcap 'cap_net_bind_service=+ep' ~/.local/bin/osrs-launcher ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.