27 lines
823 B
Bash
Executable File
27 lines
823 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
SHARUN="https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/quick-sharun.sh"
|
|
ARCH="$(uname -m)"
|
|
VERSION="$(cat ~/version)"
|
|
export ARCH VERSION
|
|
export OUTPATH=./dist
|
|
export DESKTOP=/usr/share/applications/ru.linux_gaming.PortProtonQt.desktop
|
|
export ICON=/usr/share/icons/hicolor/scalable/apps/ru.linux_gaming.PortProtonQt.svg
|
|
export OUTNAME=portprotonqt-"$VERSION"-anylinux-"$ARCH".AppImage
|
|
export DEPLOY_OPENGL=1
|
|
export DEPLOY_PIPEWIRE=1
|
|
export DEPLOY_SYS_PYTHON=1
|
|
export DEPLOY_VULKAN=1
|
|
export ANYLINUX_LIB=1
|
|
export OPTIMIZE_LAUNCH=1
|
|
|
|
# DEPLOY ALL LIBS
|
|
wget --retry-connrefused --tries=30 "$SHARUN" -O ./quick-sharun
|
|
chmod +x ./quick-sharun
|
|
./quick-sharun /usr/bin/portprotonqt /usr/lib/libudev.so*
|
|
|
|
# Turn AppDir into AppImage
|
|
./quick-sharun --make-appimage
|