Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion build_files/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ dnf5 install -y p7zip
7z x RetroArch.7z -o/opt/RetroArch
dnf5 remove p7zip

mkdir -p /var/arcade/RetroArch
mv /opt/RetroArch/RetroArch-Linux-x86_64/RetroArch-Linux-x86_64.AppImage /opt/RetroArch/RetroArch.AppImage
mv /opt/RetroArch/RetroArch-Linux-x86_64/RetroArch-Linux-x86_64.AppImage.home /opt/RetroArch/RetroArch.AppImage.home
mv /opt/RetroArch/RetroArch-Linux-x86_64/RetroArch-Linux-x86_64.AppImage.home /var/arcade/RetroArch/RetroArch.AppImage.home
rm -d /opt/RetroArch/RetroArch-Linux-x86_64

ln -s /var/arcade/RetroArch/RetroArch.AppImage.home /opt/RetroArch/RetroArch.AppImage.home
# TODO: any files we want to be immutable and update with the image should go under /opt and be symlinked in
# TODO: generate two variants of RetroArch config file under /opt, with and without kiosk mode, and link in so it can be toggled by ujust
# alternatively, produce a template of the config that can be rendered to the live config under /var