Restore 'Build from source' section in README

This commit is contained in:
s8n 2026-05-05 04:19:28 +01:00 committed by GitHub
parent 92113674f3
commit 877b672287
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,32 +77,6 @@ First launch: pick a username, done.
--- ---
## Build from source
```bash
git clone https://github.com/s8n-ru/minecraft-launcher.git
cd minecraft-launcher
# Fedora 43
sudo dnf install cmake gcc-c++ ninja-build extra-cmake-modules \
qt6-qtbase-devel qt6-qttools-devel qt6-qtsvg-devel qt6-qtnetworkauth-devel \
libarchive-devel cmark-devel qrencode-devel tomlplusplus
# Ubuntu / Debian
sudo apt install cmake g++ ninja-build extra-cmake-modules \
qt6-base-dev qt6-tools-dev qt6-svg-dev libqt6networkauth6-dev \
libarchive-dev libcmark-dev libqrencode-dev libtomlplusplus-dev gamemode-dev libvulkan-dev
JAVA_HOME=/path/to/jdk-21 cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build -j$(nproc)
./build/prismlauncher
```
CI builds via [GitHub Actions](.github/workflows/build.yml) for all 3
platforms on every tag.
---
## Trust ## Trust
Don't take my word on the privacy stuff. Read the audits: Don't take my word on the privacy stuff. Read the audits:
@ -134,3 +108,29 @@ GPL-3.0-only. Per-file copyright headers preserved.
Based on [PrismLauncher](https://github.com/PrismLauncher/PrismLauncher) Based on [PrismLauncher](https://github.com/PrismLauncher/PrismLauncher)
(GPL-3.0), itself a fork of [PolyMC](https://github.com/PolyMC/PolyMC) (GPL-3.0), itself a fork of [PolyMC](https://github.com/PolyMC/PolyMC)
and [MultiMC](https://github.com/MultiMC/Launcher). and [MultiMC](https://github.com/MultiMC/Launcher).
## Build from source
```bash
git clone https://github.com/s8n-ru/minecraft-launcher.git
cd minecraft-launcher
# Fedora 43
sudo dnf install cmake gcc-c++ ninja-build extra-cmake-modules \
qt6-qtbase-devel qt6-qttools-devel qt6-qtsvg-devel qt6-qtnetworkauth-devel \
libarchive-devel cmark-devel qrencode-devel tomlplusplus
# Ubuntu / Debian
sudo apt install cmake g++ ninja-build extra-cmake-modules \
qt6-base-dev qt6-tools-dev qt6-svg-dev libqt6networkauth6-dev \
libarchive-dev libcmark-dev libqrencode-dev libtomlplusplus-dev gamemode-dev libvulkan-dev
JAVA_HOME=/path/to/jdk-21 cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build -j$(nproc)
./build/prismlauncher
```
CI builds via [GitHub Actions](.github/workflows/build.yml) for all 3
platforms on every tag.
---