mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
Merge branch 'feat/PortMaster' into feat/okonomiyaki
This commit is contained in:
commit
58f2d3be07
|
@ -620,6 +620,9 @@
|
||||||
"pokemini": {
|
"pokemini": {
|
||||||
"name": "Nintendo Pokémon Mini"
|
"name": "Nintendo Pokémon Mini"
|
||||||
},
|
},
|
||||||
|
"portmaster": {
|
||||||
|
"name": "PortMaster"
|
||||||
|
},
|
||||||
"ports": {
|
"ports": {
|
||||||
"name": "Ports"
|
"name": "Ports"
|
||||||
},
|
},
|
||||||
|
@ -1138,6 +1141,12 @@
|
||||||
"description": "Steam ROM Manager (used to sync RetroDECK favorites with Steam)",
|
"description": "Steam ROM Manager (used to sync RetroDECK favorites with Steam)",
|
||||||
"name": "Steam ROM Manager",
|
"name": "Steam ROM Manager",
|
||||||
"launch": "steam-rom-manager"
|
"launch": "steam-rom-manager"
|
||||||
|
},
|
||||||
|
"portmaster": {
|
||||||
|
"description": "PortMaster",
|
||||||
|
"name": "PortMaster",
|
||||||
|
"system": "portmaster",
|
||||||
|
"launch": "PortMaster"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -434,6 +434,9 @@ post_update() {
|
||||||
|
|
||||||
set_setting_value "$raconf" "libretro_info_path" "/var/config/retroarch/cores" "retroarch"
|
set_setting_value "$raconf" "libretro_info_path" "/var/config/retroarch/cores" "retroarch"
|
||||||
prepare_component "reset" "shadps4"
|
prepare_component "reset" "shadps4"
|
||||||
|
# TODO: Configurator dialog: Hey, we need to reset ES-DE! (because again ES-DE folders, new theme and such)
|
||||||
|
prepare_component "reset" "es-de"
|
||||||
|
prepare_component "reset" "portmaster"
|
||||||
prepare_component "reset" "ruffle"
|
prepare_component "reset" "ruffle"
|
||||||
prepare_component "reset" "steam-rom-manager"
|
prepare_component "reset" "steam-rom-manager"
|
||||||
update_rd_conf
|
update_rd_conf
|
||||||
|
|
|
@ -883,6 +883,19 @@ prepare_component() {
|
||||||
# TODO: plceholder
|
# TODO: plceholder
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$component" =~ ^(portmaster|all)$ ]]; then
|
||||||
|
component_found="true"
|
||||||
|
# TODO: MultiUser
|
||||||
|
log i "----------------------"
|
||||||
|
log i "Prepearing PortMaster"
|
||||||
|
log i "----------------------"
|
||||||
|
|
||||||
|
rm -rf "/var/data/PortMaster"
|
||||||
|
unzip "/app/retrodeck/PortMaster.zip" -d "/var/data/"
|
||||||
|
chmod +x "/var/data/PortMaster/PortMaster.sh"
|
||||||
|
ln -s "/app/bin/PortMaster" "$roms_folder/portmaster/PortMaster.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "$component" =~ ^(ruffle|all)$ ]]; then
|
if [[ "$component" =~ ^(ruffle|all)$ ]]; then
|
||||||
component_found="true"
|
component_found="true"
|
||||||
log i "----------------------"
|
log i "----------------------"
|
||||||
|
|
|
@ -604,6 +604,26 @@ modules:
|
||||||
url: https://github.com/shadps4-emu/shadPS4/releases/latest/download/shadps4-linux-qt.zip
|
url: https://github.com/shadps4-emu/shadPS4/releases/latest/download/shadps4-linux-qt.zip
|
||||||
sha256: RETRODECKSHADPS4LATESTSTABLE
|
sha256: RETRODECKSHADPS4LATESTSTABLE
|
||||||
|
|
||||||
|
# PortMaster
|
||||||
|
|
||||||
|
- name: PortMaster
|
||||||
|
buildsystem: simple
|
||||||
|
build-commands:
|
||||||
|
- mkdir -p "${FLATPAK_DEST}/retrodeck/PortMaster/"
|
||||||
|
- cp retrodeck.portmaster.zip "${FLATPAK_DEST}/retrodeck/PortMaster.zip"
|
||||||
|
- install -Dm755 "PortMaster" "${FLATPAK_DEST}/bin/PortMaster"
|
||||||
|
- ls -lah "${FLATPAK_DEST}/bin"
|
||||||
|
sources:
|
||||||
|
- type: file
|
||||||
|
url: https://github.com/PortsMaster/PortMaster-GUI/releases/download/2024.09.13-1455/retrodeck.portmaster.zip
|
||||||
|
sha256: 4fe3ce3ffdc1d66fe235c8a1a6062a86aa06ee615dba1fe5fc6e9bdd75e9d39c
|
||||||
|
- type: script
|
||||||
|
commands:
|
||||||
|
- |
|
||||||
|
#!/bin/bash
|
||||||
|
"/var/data/PortMaster/PortMaster.sh" "$@"
|
||||||
|
dest-filename: PortMaster
|
||||||
|
|
||||||
# ES-DE
|
# ES-DE
|
||||||
|
|
||||||
- name: ES-DE
|
- name: ES-DE
|
||||||
|
|
Loading…
Reference in a new issue