From 5830df47b11723a6ddec7781042a6d100ff6a4c8 Mon Sep 17 00:00:00 2001 From: Artem Baleevskih Date: Sun, 7 Jun 2026 18:31:13 +0300 Subject: [PATCH] feat(play): replace ElyPrismLauncher with PineconeMC Remove ElyPrismLauncher play and repack scripts and add PineconeMC scripts instead. --- play.d/elyprismlauncher.sh | 20 -------------------- play.d/pineconemc.sh | 19 +++++++++++++++++++ repack.d/ElyPrismLauncher.sh | 13 ------------- repack.d/PineconeMC.sh | 17 +++++++++++++++++ 4 files changed, 36 insertions(+), 33 deletions(-) delete mode 100755 play.d/elyprismlauncher.sh create mode 100644 play.d/pineconemc.sh delete mode 100755 repack.d/ElyPrismLauncher.sh create mode 100755 repack.d/PineconeMC.sh diff --git a/play.d/elyprismlauncher.sh b/play.d/elyprismlauncher.sh deleted file mode 100755 index 929511a4..00000000 --- a/play.d/elyprismlauncher.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -PKGNAME=ElyPrismLauncher -SUPPORTEDARCHES="x86_64" -VERSION="$2" -DESCRIPTION='Fork of Prism Launcher adds integrated support for Ely.by accounts (MSA accounts can still be used)' -URL="https://github.com/ElyPrismLauncher/ElyPrismLauncher" - -. $(dirname $0)/common.sh - -warn_version_is_not_supported - -arch=x86_64 -#if [ "$VERSION" = "*" ] ; then - PKGURL=$(get_github_url "https://github.com/ElyPrismLauncher/ElyPrismLauncher/" "ElyPrismLauncher-Linux-x86_64.AppImage") -#else -# PKGURL="https://github.com/ElyPrismLauncher/ElyPrismLauncher/releases/download/$VERSION/ElyPrismLauncher-Linux-x86_64.AppImage" -#fi - -install_pkgurl diff --git a/play.d/pineconemc.sh b/play.d/pineconemc.sh new file mode 100644 index 00000000..3e7fa72c --- /dev/null +++ b/play.d/pineconemc.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +PKGNAME=PineconeMC +SUPPORTEDARCHES="x86_64 aarch64" +VERSION="$2" +DESCRIPTION='A fork of Prism Launcher with integrated support for Ely.by accounts' +URL="https://github.com/ElyPrismLauncher/Launcher" + +. $(dirname $0)/common.sh + +warn_version_is_not_supported + +epm assure unsquashfs squashfs-tools || fatal + +arch="$(epm print info -a)" + +PKGURL=$(get_github_url "$URL" "PineconeMC-Linux-$arch.AppImage") + +install_pkgurl diff --git a/repack.d/ElyPrismLauncher.sh b/repack.d/ElyPrismLauncher.sh deleted file mode 100755 index a3f693d2..00000000 --- a/repack.d/ElyPrismLauncher.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -x - -# It will be run with two args: buildroot spec -BUILDROOT="$1" -SPEC="$2" -PRODUCT=ElyPrismLauncher -PRODUCTDIR=/opt/$PRODUCT - -. $(dirname $0)/common.sh - -add_obsoletes ElyPrismLauncher-Linux -add_conflicts PrismLauncher prismlauncher - diff --git a/repack.d/PineconeMC.sh b/repack.d/PineconeMC.sh new file mode 100755 index 00000000..9be03907 --- /dev/null +++ b/repack.d/PineconeMC.sh @@ -0,0 +1,17 @@ +#!/bin/sh -x + +# It will be run with two args: buildroot spec +BUILDROOT="$1" +SPEC="$2" +PRODUCT=PineconeMC +PRODUCTDIR=/opt/$PRODUCT + +. $(dirname $0)/common.sh + +case $(epm print info -d) in + Fedora) + ignore_lib_requires 'libtiff.so.5*' + ;; +esac + +add_conflicts ElyPrismLauncher ElyPrismLauncher-Linux PrismLauncher prismlauncher