From e1299e75c12f18df794eca27089e1864a29df4a9 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 21 Oct 2024 14:10:46 -0400 Subject: [PATCH 1/9] chore(package.json): don't use `npx` where it's not needed --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 4d28b1d08..57a80076e 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,10 @@ "version": "1.0.0", "description": "Official Prism Launcher website", "scripts": { - "build": "npx eleventy", - "watch": "npx eleventy --watch", - "serve": "npx eleventy --serve", - "start": "npx eleventy --serve", + "build": "eleventy", + "watch": "eleventy --watch", + "serve": "eleventy --serve", + "start": "eleventy --serve", "debug": "DEBUG=* npx eleventy", "lint": "markdownlint .", "lint:fix": "markdownlint --fix .", From e5a36983236c99051e3cf3bd28f7e9faf156482c Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 21 Oct 2024 14:11:23 -0400 Subject: [PATCH 2/9] chore(nix): flake.nix -> shell.nix We don't really leverage Flakes here, and the lockfile is horribly outdated. A shell.nix should be fine --- flake.lock | 121 ------------------------------------------------ flake.nix | 16 ------- nix/default.nix | 12 ----- nix/dev.nix | 34 -------------- shell.nix | 23 +++++++++ 5 files changed, 23 insertions(+), 183 deletions(-) delete mode 100644 flake.lock delete mode 100644 flake.nix delete mode 100644 nix/default.nix delete mode 100644 nix/dev.nix create mode 100644 shell.nix diff --git a/flake.lock b/flake.lock deleted file mode 100644 index 0cf2c0b05..000000000 --- a/flake.lock +++ /dev/null @@ -1,121 +0,0 @@ -{ - "nodes": { - "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-parts": { - "inputs": { - "nixpkgs-lib": "nixpkgs-lib" - }, - "locked": { - "lastModified": 1725234343, - "narHash": "sha256-+ebgonl3NbiKD2UD0x4BszCZQ6sTfL4xioaM49o5B3Y=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "567b938d64d4b4112ee253b9274472dc3a346eb6", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "git-hooks": { - "inputs": { - "flake-compat": "flake-compat", - "gitignore": "gitignore", - "nixpkgs": [ - "nixpkgs" - ], - "nixpkgs-stable": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1724857454, - "narHash": "sha256-Qyl9Q4QMTLZnnBb/8OuQ9LSkzWjBU1T5l5zIzTxkkhk=", - "owner": "cachix", - "repo": "git-hooks.nix", - "rev": "4509ca64f1084e73bc7a721b20c669a8d4c5ebe6", - "type": "github" - }, - "original": { - "owner": "cachix", - "repo": "git-hooks.nix", - "type": "github" - } - }, - "gitignore": { - "inputs": { - "nixpkgs": [ - "git-hooks", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1709087332, - "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", - "owner": "hercules-ci", - "repo": "gitignore.nix", - "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "gitignore.nix", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1725194671, - "narHash": "sha256-tLGCFEFTB5TaOKkpfw3iYT9dnk4awTP/q4w+ROpMfuw=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "b833ff01a0d694b910daca6e2ff4a3f26dee478c", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-lib": { - "locked": { - "lastModified": 1725233747, - "narHash": "sha256-Ss8QWLXdr2JCBPcYChJhz4xJm+h/xjl4G0c0XlP6a74=", - "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz" - }, - "original": { - "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz" - } - }, - "root": { - "inputs": { - "flake-parts": "flake-parts", - "git-hooks": "git-hooks", - "nixpkgs": "nixpkgs" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 36c5b5f38..000000000 --- a/flake.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; - flake-parts.url = "github:hercules-ci/flake-parts"; - git-hooks = { - url = "github:cachix/git-hooks.nix"; - inputs.nixpkgs.follows = "nixpkgs"; - inputs.nixpkgs-stable.follows = "nixpkgs"; - }; - }; - - outputs = inputs: - inputs.flake-parts.lib.mkFlake - {inherit inputs;} - {imports = [./nix];}; -} diff --git a/nix/default.nix b/nix/default.nix deleted file mode 100644 index db1a12738..000000000 --- a/nix/default.nix +++ /dev/null @@ -1,12 +0,0 @@ -{...}: { - imports = [ - ./dev.nix - ]; - - systems = [ - "x86_64-linux" - "aarch64-linux" - "x86_64-darwin" - "aarch64-darwin" - ]; -} diff --git a/nix/dev.nix b/nix/dev.nix deleted file mode 100644 index 4a6e212b9..000000000 --- a/nix/dev.nix +++ /dev/null @@ -1,34 +0,0 @@ -{inputs, ...}: { - imports = [inputs.git-hooks.flakeModule]; - perSystem = { - config, - pkgs, - ... - }: { - pre-commit.settings = { - excludes = [ - "flake.lock" - "pnpm-lock.yaml" - ]; - hooks = { - markdownlint.enable = true; - alejandra.enable = true; - deadnix.enable = true; - nil.enable = true; - prettier.enable = true; - }; - }; - - devShells.default = pkgs.mkShell { - shellHook = '' - ${config.pre-commit.installationScript} - ''; - packages = with pkgs; [ - nodejs - pnpm - ]; - }; - - formatter = pkgs.alejandra; - }; -} diff --git a/shell.nix b/shell.nix new file mode 100644 index 000000000..aedb63926 --- /dev/null +++ b/shell.nix @@ -0,0 +1,23 @@ +{ + pkgs ? import { + inherit system; + config = { }; + overlays = [ ]; + }, + system ? builtins.currentSystem, +}: + +pkgs.mkShellNoCC { + packages = [ + # Node tools + pkgs.nodejs + pkgs.corepack + pkgs.nrr + + # Nix tools + pkgs.deadnix + pkgs.nil + pkgs.nixfmt-rfc-style + pkgs.statix + ]; +} From 20ee07af84c0b335ba01557b3690028dd78df563 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 21 Oct 2024 14:25:14 -0400 Subject: [PATCH 3/9] feat(download): update and clean linux download page Some packages don't exist any more, some things can be better worded or link to external documentation --- src/download/linux.md | 163 +++++++++++++++++++----------------------- 1 file changed, 75 insertions(+), 88 deletions(-) diff --git a/src/download/linux.md b/src/download/linux.md index cba659b37..e0e53f81c 100644 --- a/src/download/linux.md +++ b/src/download/linux.md @@ -20,6 +20,12 @@ eleventyNavigation: Download Portable (tar.gz) Download Portable (Qt 5, tar.gz) +
{% image "Modpack Installer", "./src/img/screenshots/LauncherLight.png", "./src/img/screenshots/LauncherDark.png" %} @@ -43,54 +49,30 @@ apk add prismlauncher # Arch Linux / Manjaro -An official package is available in the Arch Linux repositories: -[![prismlauncher](https://img.shields.io/badge/archlinux-prismlauncher-blue?logo=archlinux&logoColor=white)](https://archlinux.org/packages/extra/x86_64/prismlauncher/) +Packages are available in both the official Arch Linux/Manjaro repositories and the AUR -There are several AUR packages available: -[![prismlauncher-qt5](https://img.shields.io/badge/aur-prismlauncher--qt5-blue)](https://aur.archlinux.org/packages/prismlauncher-qt5/) -[![prismlauncher-git](https://img.shields.io/badge/aur-prismlauncher--git-blue)](https://aur.archlinux.org/packages/prismlauncher-git/) -[![prismlauncher-qt5-git](https://img.shields.io/badge/aur-prismlauncher--qt5--git-blue)](https://aur.archlinux.org/packages/prismlauncher-qt5-git/) +[![prismlauncher](https://img.shields.io/badge/Arch%20Linux-prismlauncher-blue?logo=archlinux&logoColor=white)](https://archlinux.org/packages/extra/x86_64/prismlauncher/) +[![prismlauncher-git](https://img.shields.io/badge/AUR-prismlauncher--git-blue?logo=archlinux&logoColor=white)](https://aur.archlinux.org/packages/prismlauncher-git/) ## Installing ```bash -# stable source package: -pacman -S prismlauncher -# latest git package: +# Latest release (binary) +sudo pacman -S prismlauncher +# Newest Git commit (compiled from source) yay -S prismlauncher-git ``` -If you want to use Qt 5 to build the packages instead: - -```bash -# stable Qt 5 source package: -yay -S prismlauncher-qt5 -# stable Qt 5 binary package: -yay -S prismlauncher-qt5-bin -# latest Qt 5 git package: -yay -S prismlauncher-qt5-git -``` - -You can replace yay -S with your preferred [AUR helper's](https://wiki.archlinux.org/title/AUR_helpers) install command. +You can replace `yay -S` with your preferred [AUR helper's](https://wiki.archlinux.org/title/AUR_helpers) install command. ## Installation using Chaotic-AUR -If you have not already enabled the Chaotic-AUR follow their instructions on to enable it. +If you would like to use `prismlauncher-git` without compiling from source, the Chaotic-AUR offers pre-built binaries. -```bash -# stable package: -sudo pacman -S prismlauncher -# latest git package: -sudo pacman -S prismlauncher-git -``` - -If you want to use Qt 5 to build the packages instead: +See their instructions on to enable the repository, then run: ```bash -# stable Qt 5 package: -sudo pacman -S prismlauncher-qt5 -# latest Qt 5 git package: -sudo pacman -S prismlauncher-qt5-git +sudo pacman -S prismlauncher-git ```
@@ -99,18 +81,15 @@ sudo pacman -S prismlauncher-qt5-git # CentOS Stream / Fedora / Red Hat Enterprise Linux -RPM packages are available on [Copr](https://copr.fedorainfracloud.org/coprs/g3tchoo/prismlauncher/) for x86_64 and aarch64. -If you are on an Enterprise Linux distribution (RHEL, CentOS, Rocky, etc.) and do not have the EPEL repositories enabled, please enable them [here](https://docs.fedoraproject.org/en-US/epel/#_el9). +RPM packages are available on [Copr](https://copr.fedorainfracloud.org/coprs/g3tchoo/prismlauncher/) for x86_64 and aarch64 -Nightly builds are updated automatically in the [Terra repository](https://terra.fyralabs.com/) and built on Copr every 24 hours. +If you are on an Enterprise Linux distribution (RHEL, CentOS, Rocky, etc.) and do not have the EPEL repositories enabled, please enable them [here](https://docs.fedoraproject.org/en-US/epel/#_el9) ```bash -# enables the copr repo +# Enables the copr repo sudo dnf copr enable g3tchoo/prismlauncher -# stable releases +# Install the latest release sudo dnf install prismlauncher -# nightly builds -sudo dnf install prismlauncher-nightly ``` @@ -119,52 +98,48 @@ sudo dnf install prismlauncher-nightly # Debian / Ubuntu (x86_64, ARM64) -We use [makedeb](https://docs.makedeb.org/) for our Debian packages. -Several MPR packages are available: +Several packages are available through [makedeb](https://makedeb.org/)'s [MPR](https://mpr.makedeb.org/) [![prismlauncher](https://img.shields.io/badge/mpr-prismlauncher-orange)](https://mpr.makedeb.org/packages/prismlauncher) [![prismlauncher-bin](https://img.shields.io/badge/mpr-prismlauncher--bin-orange)](https://mpr.makedeb.org/packages/prismlauncher-bin) [![prismlauncher-git](https://img.shields.io/badge/mpr-prismlauncher--git-orange)](https://mpr.makedeb.org/packages/prismlauncher-git) -## Installation using Prebuilt MPR (recommended) +## Installation using Prebuilt-MPR (recommended) + +Add the Prebuilt-MPR repository as described [here](https://docs.makedeb.org/prebuilt-mpr/getting-started/), then run: ```bash -sudo apt install lsb-release # install if not installed -curl -q 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null -echo "deb [signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list -sudo apt update +# Latest stable release sudo apt install prismlauncher +# Newest Git commit +yay -S prismlauncher-git ``` Prebuilt MPR supports Debian 11, 12, and Ubuntu 20.04, 22.04, 22.10, and 23.04. ## Installing with mist, the MPR CLI -First, install [makedeb](https://www.makedeb.org/) and [mist](https://docs.makedeb.org/using-the-mpr/mist-the-mpr-cli/#installing-mist) using the instructions on their websites. - -You can then use it to easily install Prism Launcher: +Install `mist` by following the [upostream instructions](https://docs.makedeb.org/using-the-mpr/mist-the-mpr-cli/#installing-mist). ```bash -# stable source package: +# Latest stable release (compiled from source) mist install prismlauncher -# stable binary package: +# Latest stable release (binary) mist install prismlauncher-bin -# latest git package: +# Newest Git commit (compiled from source) mist install prismlauncher-git ``` ## Installing with Pacstall -Installing [Pacstall](https://pacstall.dev/) +Install [`pacstall`](https://pacstall.dev/), then run: ```bash -sudo bash -c "$(curl -fsSL https://git.io/JsADh || wget -q https://git.io/JsADh -O -)" -``` - -Installing Prism Launcher - -```bash -# latest git package: +# Latest stable release (compiled from source) +pacstall -I prismlauncher +# Latest stable release (binary) +pacstall -I prismlauncher-bin +# Newest Git commit (compiled from source) pacstall -I prismlauncher-git ``` @@ -174,12 +149,15 @@ pacstall -I prismlauncher-git # Debian / Pi OS / Ubuntu (ARM32/64) -Prism Launcher is available in the [pi-apps](https://github.com/Botspot/pi-apps) store as a deb install: +Prism Launcher is available in the [pi-apps](https://github.com/Botspot/pi-apps) store [![pi-apps-badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FBotspot%2Fpi-apps-analytics%2Fmain%2Fpackage_data_v2.json&query=%24.Minecraft%20Java%20Prism%20Launcher.Version&label=Pi-Apps&color=c51a4a)](https://github.com/Botspot/pi-apps) -NOTE: Only supports Debian/Raspbian/Pi OS Buster and newer and Ubuntu 18.04 and newer. -_Debian-based ARM packages are community-maintained, Prism Launcher is not responsible for outdated versions._ +
+ +Only Debian/Raspbian/Pi OS Buster and newer and Ubuntu 18.04 and newer are supported. + +
@@ -187,8 +165,13 @@ _Debian-based ARM packages are community-maintained, Prism Launcher is not respo # Gentoo -Ebuilds are available in the official Gentoo repository, under [`games-action/prismlauncher`](https://packages.gentoo.org/packages/games-action/prismlauncher). -Note that, for the time being, it is not stabilized, so it's masked for `~amd64` and `~arm64` only. +Ebuilds are available in the official Gentoo repository, under [`games-action/prismlauncher`](https://packages.gentoo.org/packages/games-action/prismlauncher) + +
+ +For the time being, newer versions of the package are not stabilized, so they are masked for `~amd64` and `~arm64` only. + +
```bash sudo emaint sync -a @@ -219,21 +202,15 @@ Installation instructions for stable releases are available on the [NixOS Wiki]( # openSUSE -RPM packages are available on the [Open Build Service](https://download.opensuse.org/repositories/home:/getchoo/). +An RPM package is available on the [Open Build Service](https://build.opensuse.org/package/show/home:getchoo/prismlauncher) ```bash -# add repository (if on leap, replace 'openSUSE_Tumbleweed' with '15.4') +# Add repository (if on Leap, replace 'openSUSE_Tumbleweed' with your release version) zypper addrepo https://download.opensuse.org/repositories/home:getchoo/openSUSE_Tumbleweed/home:getchoo.repo -# refresh repository cache +# Refresh the repository cache zypper refresh -# stable releases (Qt6 version, only for Tumbleweed) +# Install the latest release zypper install prismlauncher -# latest builds (Qt6 version, only for Tumbleweed) -zypper install prismlauncher-nightly -# stable releases (Qt5 version, available for Leap and Tumbleweed) -zypper install prismlauncher-qt5 -# latest builds (available for Leap and Tumbleweed) -zypper install prismlauncher-qt5-nightly ``` @@ -242,24 +219,34 @@ zypper install prismlauncher-qt5-nightly # Slackware -Prism Launcher is available on [SlackBuilds](https://slackbuilds.org/repository/15.0/games/PrismLauncher/) maintained by Samuel Young. The package is only available for Slackware version 15.0 (currently)! +Prism Launcher is available on [SlackBuilds](https://slackbuilds.org/repository/15.0/games/PrismLauncher/) (maintained by Samuel Young) + +
+ +
-_Note: You may need to edit the `PrismLauncher.SlackBuild` file and change the VERSION variable to reflect that of the source code, although it is better if you wait for the maintainer to update the SlackBuild file._ +You may need to edit the `PrismLauncher.SlackBuild` file and change the VERSION variable to reflect that of the source code -- although it is better if you wait for the maintainer to do so. + +
```bash -# download launcher slackbuild archive +# Download slackbuild archive wget https://slackbuilds.org/slackbuilds/15.0/games/PrismLauncher.tar.gz -# extract archive +# Extract archive tar -xpvf PrismLauncher.tar.gz; cd PrismLauncher-* -# download source specified in PrismLauncher.info, for example for version 7.1: +# Download source specified in PrismLauncher.info. For example for version 7.1: wget https://github.com/PrismLauncher/PrismLauncher/releases/download/7.1/PrismLauncher-7.1.tar.gz -# verify integrity -md5sum PrismLauncher-*.tar.gz # compare the result with the md5 in PrismLauncher.info -# enter root environment and grant permissions +# Verify integrity +md5sum PrismLauncher-*.tar.gz # Compare the result with the MD5 in PrismLauncher.info +# Enter root environment and grant permissions su -l; chmod +x PrismLauncher.SlackBuild -# build package +# Build package ./PrismLauncher.SlackBuild -# install package (name dependent on version, cpu arch) +# Install package (name dependent on version, cpu arch) cd /tmp; installpkg PrismLauncher-*.tgz ``` @@ -269,7 +256,7 @@ cd /tmp; installpkg PrismLauncher-*.tgz # Void Linux -Prism Launcher is available on the official Void repository. +Prism Launcher is available in the official Void repository ```bash sudo xbps-install PrismLauncher From e8181ca3a5fd2a86a05f59724bb3d40da23d7a69 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 21 Oct 2024 14:59:46 -0400 Subject: [PATCH 4/9] feat(download): split official and community linux packages --- src/download/linux.md | 114 ++++++++++++++++++++++++------------------ 1 file changed, 64 insertions(+), 50 deletions(-) diff --git a/src/download/linux.md b/src/download/linux.md index e0e53f81c..82b65def6 100644 --- a/src/download/linux.md +++ b/src/download/linux.md @@ -35,26 +35,72 @@ eleventyNavigation:
-# Alpine Linux +# Official Packages -[APK Packages](https://pkgs.alpinelinux.org/packages?name=prismlauncher) are available on Alpine Linux Edge for multiple architectures +## Flathub + +[Flathub](https://flathub.org/) is our primary method of distribution on Linux + +### App Center + +It may already be setup on your system, but if not, see how to enable it for your distribution [here](https://flathub.org/setup). +After setup, Prism Launcher should now be available in your app center (i.e., GNOME Software, Discover) + +### CLI + +You can also enable Flathub and install the launcher with the following commands: ```bash -apk add prismlauncher +flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo +flatpak install flathub org.prismlauncher.PrismLauncher +```` + +## Nix / NixOS + +An [official Nix Flake](https://github.com/PrismLauncher/PrismLauncher/blob/develop/nix/README.md) is available for development and release builds. + +## AppImage + +AppImages allow you to take a single file and run Prism anywhere* + +### With AppImageLauncher (Recommended) + +Follow AppImageLauncher's [installation instructions](https://github.com/TheAssassin/AppImageLauncher/wiki#installation). Once installed, you will be prompted to integrate the launcher's AppImage with your desktop when you open it for the first time. + +### Making the AppImage Executable + +After downloading the AppImage, open your file manager and make it [executable](https://docs.appimage.org/introduction/quickstart.html#using-the-gui). You should now be able to run it with a click! + +### CLI + +```bash +curl -fsSLo PrismLauncher.AppImage https://github.com/PrismLauncher/PrismLauncher/releases/download/{{version.current}}/PrismLauncher-Linux-x86_64.AppImage +chmod +x ./PrismLauncher.AppImage +./PrismLauncher.AppImage ```
-# Arch Linux / Manjaro +# Community Packages + +## Alpine Linux + +[APK Packages](https://pkgs.alpinelinux.org/packages?name=prismlauncher) are available on Alpine Linux Edge for multiple architectures + +```bash +apk add prismlauncher +``` + +## Arch Linux / Manjaro Packages are available in both the official Arch Linux/Manjaro repositories and the AUR [![prismlauncher](https://img.shields.io/badge/Arch%20Linux-prismlauncher-blue?logo=archlinux&logoColor=white)](https://archlinux.org/packages/extra/x86_64/prismlauncher/) [![prismlauncher-git](https://img.shields.io/badge/AUR-prismlauncher--git-blue?logo=archlinux&logoColor=white)](https://aur.archlinux.org/packages/prismlauncher-git/) -## Installing +### Installing ```bash # Latest release (binary) @@ -65,7 +111,7 @@ yay -S prismlauncher-git You can replace `yay -S` with your preferred [AUR helper's](https://wiki.archlinux.org/title/AUR_helpers) install command. -## Installation using Chaotic-AUR +### Installation using Chaotic-AUR If you would like to use `prismlauncher-git` without compiling from source, the Chaotic-AUR offers pre-built binaries. @@ -75,11 +121,7 @@ See their instructions on to enable the repository, th sudo pacman -S prismlauncher-git ``` -
- -
- -# CentOS Stream / Fedora / Red Hat Enterprise Linux +## CentOS Stream / Fedora / Red Hat Enterprise Linux RPM packages are available on [Copr](https://copr.fedorainfracloud.org/coprs/g3tchoo/prismlauncher/) for x86_64 and aarch64 @@ -92,11 +134,7 @@ sudo dnf copr enable g3tchoo/prismlauncher sudo dnf install prismlauncher ``` -
- -
- -# Debian / Ubuntu (x86_64, ARM64) +## Debian / Ubuntu (x86_64, ARM64) Several packages are available through [makedeb](https://makedeb.org/)'s [MPR](https://mpr.makedeb.org/) @@ -104,7 +142,7 @@ Several packages are available through [makedeb](https://makedeb.org/)'s [MPR](h [![prismlauncher-bin](https://img.shields.io/badge/mpr-prismlauncher--bin-orange)](https://mpr.makedeb.org/packages/prismlauncher-bin) [![prismlauncher-git](https://img.shields.io/badge/mpr-prismlauncher--git-orange)](https://mpr.makedeb.org/packages/prismlauncher-git) -## Installation using Prebuilt-MPR (recommended) +### Installation using Prebuilt-MPR (recommended) Add the Prebuilt-MPR repository as described [here](https://docs.makedeb.org/prebuilt-mpr/getting-started/), then run: @@ -117,7 +155,7 @@ yay -S prismlauncher-git Prebuilt MPR supports Debian 11, 12, and Ubuntu 20.04, 22.04, 22.10, and 23.04. -## Installing with mist, the MPR CLI +### Installing with mist, the MPR CLI Install `mist` by following the [upostream instructions](https://docs.makedeb.org/using-the-mpr/mist-the-mpr-cli/#installing-mist). @@ -130,7 +168,7 @@ mist install prismlauncher-bin mist install prismlauncher-git ``` -## Installing with Pacstall +### Installing with Pacstall Install [`pacstall`](https://pacstall.dev/), then run: @@ -143,11 +181,7 @@ pacstall -I prismlauncher-bin pacstall -I prismlauncher-git ``` -
- -
- -# Debian / Pi OS / Ubuntu (ARM32/64) +## Debian / Pi OS / Ubuntu (ARM32/64) Prism Launcher is available in the [pi-apps](https://github.com/Botspot/pi-apps) store @@ -159,11 +193,7 @@ Only Debian/Raspbian/Pi OS Buster and newer and Ubuntu 18.04 and newer are suppo
-
- -
- -# Gentoo +## Gentoo Ebuilds are available in the official Gentoo repository, under [`games-action/prismlauncher`](https://packages.gentoo.org/packages/games-action/prismlauncher) @@ -186,21 +216,13 @@ emerge games-action/prismlauncher Have fun! :) -
- -
- -# Nix / NixOS +## Nixpkgs -Installation instructions for stable releases are available on the [NixOS Wiki](https://wiki.nixos.org/wiki/Prism_Launcher). Additionally, an [official Nix Flake](https://github.com/PrismLauncher/PrismLauncher/blob/develop/nix/README.md) is available for development builds. +Installation instructions for stable releases are available on the [NixOS Wiki](https://wiki.nixos.org/wiki/Prism_Launcher). [![prismlauncher](https://img.shields.io/badge/nixpkgs-prismlauncher-blue)](https://search.nixos.org/packages?query=prismlauncher) -
- -
- -# openSUSE +## openSUSE An RPM package is available on the [Open Build Service](https://build.opensuse.org/package/show/home:getchoo/prismlauncher) @@ -213,11 +235,7 @@ zypper refresh zypper install prismlauncher ``` -
- -
- -# Slackware +## Slackware Prism Launcher is available on [SlackBuilds](https://slackbuilds.org/repository/15.0/games/PrismLauncher/) (maintained by Samuel Young) @@ -250,11 +268,7 @@ su -l; chmod +x PrismLauncher.SlackBuild cd /tmp; installpkg PrismLauncher-*.tgz ``` -
- -
- -# Void Linux +## Void Linux Prism Launcher is available in the official Void repository From 9e17238d4576f51475ce7fcab4d329320f8973f6 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 21 Oct 2024 15:04:23 -0400 Subject: [PATCH 5/9] feat(download): cleanup windows section; mark winget as official --- src/download/windows.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/download/windows.md b/src/download/windows.md index 967507e51..941569832 100644 --- a/src/download/windows.md +++ b/src/download/windows.md @@ -26,9 +26,9 @@ eleventyNavigation:
-### Advanced Windows install options +# Advanced Windows install options -#### MinGW-w64 +## MinGW-w64 These builds are built with MinGW and do not require the Visual C++ Redistributable to be installed on your system. They require Windows 10/11 64bit. @@ -36,40 +36,40 @@ Note: These builds are less tested than the MSVC builds. - [Installer (64bit) (.exe)](https://github.com/PrismLauncher/PrismLauncher/releases/download/{{version.current}}/PrismLauncher-Windows-MinGW-w64-Setup-{{version.current}}.exe) -### CLI (community-maintained) - -#### Winget Package +## Winget Package ```powershell -winget install -e PrismLauncher.PrismLauncher +winget install --exact PrismLauncher.PrismLauncher ``` -#### Stable Scoop Package +
+ +
+ +# Community Packages + +## Scoop Package ```powershell scoop bucket add games scoop install prismlauncher ``` -#### Unstable Scoop Package - -Same as above, but it's an unstable git [development build](/wiki/development/development-builds) rather than a stable build. +Unstable [development builds](/wiki/development/development-builds) are also available in the `versions` bucket. ```powershell scoop bucket add versions scoop install prismlauncher-git ``` -#### Chocolatey Package +## Chocolatey Package ```powershell choco install prismlauncher ``` -*Chocolatey and Scoop packages are community-maintained, Prism Launcher is not responsible for outdated versions.* - -#### [PortableApps.com](https://portableapps.com) Installer +## [PortableApps.com](https://portableapps.com) Installer -A community maintained portable installer for Prism Launcher can be found [here](https://RuiNtD.github.io/PrismLauncherPortable/). +A portable installer for Prism Launcher can be found [here](https://RuiNtD.github.io/PrismLauncherPortable/).
From de008b0f169d1319bdfc8292ed26161dcc6b514e Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 21 Oct 2024 15:07:48 -0400 Subject: [PATCH 6/9] chore(download): document nix installation option for macos; cleanup --- src/download/mac.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/download/mac.md b/src/download/mac.md index 1f7f1d0b4..eb57c3686 100644 --- a/src/download/mac.md +++ b/src/download/mac.md @@ -24,20 +24,28 @@ eleventyNavigation:
-## Advanced macOS install options +# Advanced macOS install options -### Homebrew Package (community-maintained) +## Nix -#### Installation instructions +See [the Linux section](/download#nix) + +
+ +
+ +# Community Packages + +## Homebrew Package ```bash brew install --cask --no-quarantine prismlauncher ``` -### MacPorts Package (community-maintained) - -#### Installation instructions +## MacPorts Package ```bash sudo port install PrismLauncher ``` + +
From 37daaabf08e012d9bc815bf13992743aaad9d983 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 29 Oct 2024 01:09:18 -0400 Subject: [PATCH 7/9] chore(download): add warning about appimage only supporting x86_64 --- src/download/linux.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/download/linux.md b/src/download/linux.md index 82b65def6..b4b128e25 100644 --- a/src/download/linux.md +++ b/src/download/linux.md @@ -63,6 +63,12 @@ An [official Nix Flake](https://github.com/PrismLauncher/PrismLauncher/blob/deve AppImages allow you to take a single file and run Prism anywhere* +
+ ### With AppImageLauncher (Recommended) Follow AppImageLauncher's [installation instructions](https://github.com/TheAssassin/AppImageLauncher/wiki#installation). Once installed, you will be prompted to integrate the launcher's AppImage with your desktop when you open it for the first time. From 4e2ca5352ec871a45eccf963e93e8f7b1ad2f3b4 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 29 Oct 2024 01:19:49 -0400 Subject: [PATCH 8/9] fix(download): close tags & fix notifications on linux page --- src/download/linux.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/download/linux.md b/src/download/linux.md index b4b128e25..a323f80bb 100644 --- a/src/download/linux.md +++ b/src/download/linux.md @@ -63,10 +63,8 @@ An [official Nix Flake](https://github.com/PrismLauncher/PrismLauncher/blob/deve AppImages allow you to take a single file and run Prism anywhere* -
AppImage builds only support x86_64 -
### With AppImageLauncher (Recommended) @@ -194,9 +192,7 @@ Prism Launcher is available in the [pi-apps](https://github.com/Botspot/pi-apps) [![pi-apps-badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FBotspot%2Fpi-apps-analytics%2Fmain%2Fpackage_data_v2.json&query=%24.Minecraft%20Java%20Prism%20Launcher.Version&label=Pi-Apps&color=c51a4a)](https://github.com/Botspot/pi-apps)
- Only Debian/Raspbian/Pi OS Buster and newer and Ubuntu 18.04 and newer are supported. -
## Gentoo @@ -204,9 +200,7 @@ Only Debian/Raspbian/Pi OS Buster and newer and Ubuntu 18.04 and newer are suppo Ebuilds are available in the official Gentoo repository, under [`games-action/prismlauncher`](https://packages.gentoo.org/packages/games-action/prismlauncher)
- For the time being, newer versions of the package are not stabilized, so they are masked for `~amd64` and `~arm64` only. -
```bash @@ -245,16 +239,12 @@ zypper install prismlauncher Prism Launcher is available on [SlackBuilds](https://slackbuilds.org/repository/15.0/games/PrismLauncher/) (maintained by Samuel Young) -
The package is currently only available for Slackware version 15.0! -
- You may need to edit the `PrismLauncher.SlackBuild` file and change the VERSION variable to reflect that of the source code -- although it is better if you wait for the maintainer to do so. -
```bash From 827150d03e70a4d1bd3fee95792d75ac937250e9 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 29 Oct 2024 01:30:05 -0400 Subject: [PATCH 9/9] chore(download): add deprecation warning for qt 5 packages on linux --- src/download/linux.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/download/linux.md b/src/download/linux.md index a323f80bb..e5d659ad0 100644 --- a/src/download/linux.md +++ b/src/download/linux.md @@ -19,13 +19,12 @@ eleventyNavigation: Download (AppImage) Download Portable (tar.gz) Download Portable (Qt 5, tar.gz) +
+
+

Qt 5 packages will be going away soon 😔

+

Support will be removed after 9.x. Users are encouraged to update to Qt 6 builds where available

+
-
{% image "Modpack Installer", "./src/img/screenshots/LauncherLight.png", "./src/img/screenshots/LauncherDark.png" %}