Install 86box

This commit is contained in:
2026-05-12 16:18:04 +03:00
parent 185f62bf25
commit 45ce12129c
7 changed files with 828 additions and 266 deletions

22
scripts/fetch_86box.sh Normal file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
echo "Fetching 86Box AppImage and ROMs..."
mkdir -p /opt/86box/roms
if [ "$(uname -m)" == "aarch64" ]; then
echo "Fetching 86Box AppImage for ARM64 architecture..."
wget -O /opt/86box/86box \
https://github.com/86Box/86Box/releases/download/v5.3/86Box-NDR-Linux-arm64-b8200.AppImage
elif [ "$(uname -m)" == "x86_64" ]; then
echo "Fetching 86Box AppImage for x86_64 architecture..."
wget -O /opt/86box/86box \
https://github.com/86Box/86Box/releases/download/v5.3/86Box-Linux-x86_64-b8200.AppImage
fi
chmod +x /opt/86box/86box
wget -O /tmp/roms.tar.gz \
https://github.com/86Box/roms/archive/refs/tags/v5.3.tar.gz
tar -xzf /tmp/roms.tar.gz -C /opt/86box/roms --strip-components=1