diff --git a/functions/game_downloader.sh b/functions/game_downloader.sh index 10c2eb60..ce137e9a 100755 --- a/functions/game_downloader.sh +++ b/functions/game_downloader.sh @@ -49,8 +49,7 @@ install_romhack() { # Create the hack base_name="$(basename "$base_local_path")" ext="$(echo "${base_name##*.}")" - flatpak-spawn --host flatpak run com.github.Alcaro.Flips \ - --apply "$roms_folder/$system/$patchfile_name" "$base_local_path" "$roms_folder/$system/$hack_name.$ext" >/dev/null + flips --apply "$roms_folder/$system/$patchfile_name" "$base_local_path" "$roms_folder/$system/$hack_name.$ext" >/dev/null # Cleanup rm "$roms_folder/$system/$patchfile_name" diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index 62c2b843..75b7ffa6 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -470,6 +470,16 @@ modules: commit: b33d965f227fe971fd590cb022f608521b506ef3 - rd-submodules/boilr/cargo-lock.json + - name: flips + buildsystem: simple + build-commands: + - sh make.sh --cflags=-DFLATPAK + - make install PREFIX=/app + sources: + - type: git + url: https://github.com/Alcaro/Flips.git + commit: 96df78fd733ebc56d64bcfcaee7d127bfd6643d6 + # RetroArch - START # https://github.com/flathub/org.libretro.RetroArch @@ -1403,4 +1413,4 @@ modules: sources: - type: git url: https://github.com/XargonWan/RetroDECK.git - branch: THISBRANCH \ No newline at end of file + branch: THISBRANCH