mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-24 15:05:39 +00:00
Merge df02a6ed00
into dff219c770
This commit is contained in:
commit
03237afe67
|
@ -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"
|
||||||
},
|
},
|
||||||
|
@ -1124,6 +1127,12 @@
|
||||||
"name": "ES-DE",
|
"name": "ES-DE",
|
||||||
"url": "https://retrodeck.readthedocs.io/en/latest/wiki_es_de/esde-guide/.",
|
"url": "https://retrodeck.readthedocs.io/en/latest/wiki_es_de/esde-guide/.",
|
||||||
"launch": "es-de"
|
"launch": "es-de"
|
||||||
|
},
|
||||||
|
"portmaster": {
|
||||||
|
"description": "PortMaster",
|
||||||
|
"name": "PortMaster",
|
||||||
|
"system": "portmaster",
|
||||||
|
"launch": "PortMaster"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -433,6 +433,9 @@ post_update() {
|
||||||
# Placeholder for version 0.9.0b
|
# Placeholder for version 0.9.0b
|
||||||
|
|
||||||
set_setting_value "$raconf" "libretro_info_path" "/var/config/retroarch/cores" "retroarch"
|
set_setting_value "$raconf" "libretro_info_path" "/var/config/retroarch/cores" "retroarch"
|
||||||
|
# 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"
|
||||||
update_rd_conf
|
update_rd_conf
|
||||||
|
|
||||||
|
|
|
@ -857,6 +857,19 @@ prepare_component() {
|
||||||
sed -i 's#RETRODECKSAVESDIR#'$saves_folder'#g' "/var/config/gzdoom/gzdoom.ini" # This is an unfortunate one-off because set_setting_value does not currently support JSON
|
sed -i 's#RETRODECKSAVESDIR#'$saves_folder'#g' "/var/config/gzdoom/gzdoom.ini" # This is an unfortunate one-off because set_setting_value does not currently support JSON
|
||||||
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 "----------------------"
|
||||||
|
|
|
@ -542,6 +542,26 @@ modules:
|
||||||
url: https://github.com/RetroDECK/MAME/releases/latest/download/RetroDECK-MAME-Artifact.tar.gz
|
url: https://github.com/RetroDECK/MAME/releases/latest/download/RetroDECK-MAME-Artifact.tar.gz
|
||||||
sha256: RETRODECKMAMELATEST
|
sha256: RETRODECKMAMELATEST
|
||||||
|
|
||||||
|
# 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