- Manifest multiarch i386 (Compat.i386 + GL32 + gamescope) - Wrapper launcher con EULA dialog GTK3 (persistente), audio PipeWire, saves - sdl12-compat build i386, risoluzione 1024x768@16, 60fps - Icona composita (mech + kanji + banner SHOGO, trasparente) 512/256 - icon-build.py (post-processing rembg) - Cartella flathub-submission pronta per la PR - install-shogo-demo.sh per PC nuovi
33 lines
1.3 KiB
Bash
Executable File
33 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
# Installs Shogo: Mobile Armor Division (Linux Demo) Flatpak on a new machine.
|
|
# Configures Flathub, installs runtime + extensions (32-bit libs, GL, gamescope)
|
|
# and finally the game. Usage: ./install-shogo-demo.sh [path-to-bundle.flatpak]
|
|
set -e
|
|
|
|
BUNDLE="${1:-$(dirname "$0")/shogo-demo.flatpak}"
|
|
|
|
echo "==> Checking flatpak..."
|
|
if ! command -v flatpak >/dev/null 2>&1; then
|
|
echo "flatpak not found. Install it first (e.g. Debian/Ubuntu: sudo apt install flatpak)"
|
|
exit 1
|
|
fi
|
|
|
|
echo "==> Configuring Flathub (if missing)..."
|
|
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
|
|
|
echo "==> Installing runtime and extensions (32-bit libs, GL, gamescope)..."
|
|
flatpak install --user -y flathub \
|
|
org.freedesktop.Platform//25.08 \
|
|
org.freedesktop.Platform.Compat.i386//25.08 \
|
|
org.freedesktop.Platform.GL32.default//25.08 \
|
|
org.freedesktop.Platform.VulkanLayer.gamescope//25.08
|
|
|
|
echo "==> Installing the game (bundle)..."
|
|
flatpak install --user -y "$BUNDLE"
|
|
|
|
echo ""
|
|
echo "==================================================="
|
|
echo "Done! Launch with: flatpak run io.github.enne2.ShogoDemo"
|
|
echo "(or from the app menu: 'Shogo: Mobile Armor Division (Demo)')"
|
|
echo "==================================================="
|