diff --git a/launcher/README.md b/launcher/README.md new file mode 100644 index 000000000..d076e4100 --- /dev/null +++ b/launcher/README.md @@ -0,0 +1,38 @@ +# Horizon launcher + +A small desktop app that installs Horizon builds, prepares them from your own copy of +Minecraft, and starts the client or a dedicated server. Built with [GPUI](https://www.gpui.rs), +Zed's UI framework; it has its own Cargo workspace and is not part of the game's builds. + +![Play](docs/play.png) + +## What it does + +- **Versions**: lists the published releases of ludovic111/horizon, installs the build for + this platform into its own folder, and removes it again. +- **Play**: prepares resources as `PLAY.txt` describes (your launcher's 26.3 install, the + 26.3 server jar from that version's own json, Python 3.10+ and Java 25), then starts the + client, or a server (`--dedicated --nogui`) in a folder you choose, with a live console. +- **Patch notes**: each release's notes, newest first, with a link to GitHub Sponsors. +- **What's next**: the README's roadmap, from main. + +Data lives in the platform's data directory (`~/.local/share/horizon-launcher` on Linux, +`~/Library/Application Support/horizon-launcher` on macOS, `%APPDATA%\horizon-launcher` on +Windows): `versions//`, `server-jars/`, `server/` and `settings.json`. + +## Building + + cargo build --release + +On NixOS, `nix-shell` in this folder provides the libraries GPUI links to (Wayland, X11, +xkbcommon, Vulkan, fontconfig). macOS needs Xcode's command line tools. The `launcher` +workflow builds macOS and Windows binaries as artifacts. + +Inter (SIL Open Font License, `assets/fonts/LICENSE.txt`) is bundled so the type is the same +on every platform. + +## Screenshots + +![Server](docs/server.png) +![Versions](docs/versions.png) +![Patch notes](docs/patch-notes.png) diff --git a/launcher/docs/patch-notes.png b/launcher/docs/patch-notes.png new file mode 100644 index 000000000..e9424ba16 Binary files /dev/null and b/launcher/docs/patch-notes.png differ diff --git a/launcher/docs/play.png b/launcher/docs/play.png new file mode 100644 index 000000000..fc36a7b5e Binary files /dev/null and b/launcher/docs/play.png differ diff --git a/launcher/docs/versions.png b/launcher/docs/versions.png new file mode 100644 index 000000000..77d084f35 Binary files /dev/null and b/launcher/docs/versions.png differ diff --git a/launcher/docs/whats-next.png b/launcher/docs/whats-next.png new file mode 100644 index 000000000..ad9d9a441 Binary files /dev/null and b/launcher/docs/whats-next.png differ