Skip to content

Commit

Permalink
fix: retroarch, added missing 7z and autoconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ABeltramo committed Jul 15, 2024
1 parent afca1a1 commit 7e378b2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion images/retroarch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apt-get update && \
add-apt-repository ppa:libretro/stable && \
apt-get update && \
# Install retroarch \
apt-get install -y retroarch && \
apt-get install -y retroarch p7zip-full && \
# Cleanup \
apt-get remove -y software-properties-common gpg-agent && \
apt-get autoremove -y && \
Expand Down
9 changes: 9 additions & 0 deletions images/retroarch/scripts/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,19 @@ cp -u /cfg/retroarch.cfg "$CFG_DIR/retroarch.cfg"

# if there are no assets, manually download them
if [ ! -d "$CFG_DIR/assets" ]; then
gow_log "Missing assets, downloading..."
wget -q --show-progress -P /tmp https://buildbot.libretro.com/assets/frontend/assets.zip
7z x /tmp/assets.zip -bso0 -bse0 -bsp1 -o"$CFG_DIR/assets"
rm /tmp/assets.zip
fi

# Add the base autoconfig profile so that it'll pickup joypads automatically
if [ ! -d "$CFG_DIR/autoconfig" ]; then
gow_log "Missing autoconfig, downloading..."
wget -q --show-progress -P /tmp https://buildbot.libretro.com/assets/frontend/autoconfig.zip
7z x /tmp/autoconfig.zip -bso0 -bse0 -bsp1 -o"$CFG_DIR/autoconfig"
rm /tmp/autoconfig.zip
fi

source /opt/gow/launch-comp.sh
launcher /usr/bin/retroarch

0 comments on commit 7e378b2

Please sign in to comment.