mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
PORTMASTER: init
This commit is contained in:
parent
36b738e9f2
commit
9adf08a592
|
@ -620,6 +620,9 @@
|
|||
"pokemini": {
|
||||
"name": "Nintendo Pokémon Mini"
|
||||
},
|
||||
"portmaster": {
|
||||
"name": "PortMaster"
|
||||
},
|
||||
"ports": {
|
||||
"name": "Ports"
|
||||
},
|
||||
|
@ -1094,6 +1097,12 @@
|
|||
"name": "xemu",
|
||||
"system": "xbox",
|
||||
"launch": "xemu"
|
||||
},
|
||||
"portmaster": {
|
||||
"description": "PortMaster",
|
||||
"name": "PortMaster",
|
||||
"system": "portmaster",
|
||||
"launch": "PortMaster"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -378,6 +378,9 @@ post_update() {
|
|||
# Placeholder for version 0.9.0b
|
||||
|
||||
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"
|
||||
|
||||
# TODO: check this
|
||||
# rm /var/config/emulationstation/.emulationstation # remving the old symlink to .emulationstation as it might be not needed anymore
|
||||
|
|
|
@ -865,8 +865,9 @@ prepare_component() {
|
|||
log i "----------------------"
|
||||
|
||||
rm -rf "/var/data/PortMaster"
|
||||
create_dir "/var/data/PortMaster"
|
||||
cp "$config/PortMaster/control.txt" "/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_found == "false" ]]; then
|
||||
|
|
|
@ -530,12 +530,13 @@ modules:
|
|||
buildsystem: simple
|
||||
build-commands:
|
||||
- mkdir -p "${FLATPAK_DEST}/retrodeck/PortMaster/"
|
||||
- cp control.txt "${FLATPAK_DEST}/retrodeck/PortMaster/"
|
||||
- install -Dm755 PortMaster.sh "${FLATPAK_DEST}/bin/"
|
||||
- cp retrodeck.portmaster.zip "${FLATPAK_DEST}/retrodeck/PortMaster.zip"
|
||||
- ln -s "/var/data/PortMaster/PortMaster.sh" "${FLATPAK_DEST}/bin/PortMaster"
|
||||
- chmod +x ${FLATPAK_DEST}/PortMaster
|
||||
sources:
|
||||
- type: archive
|
||||
url:
|
||||
sha256:
|
||||
- type: file
|
||||
url: https://github.com/PortsMaster/PortMaster-GUI/releases/download/2024.08.24-1111/retrodeck.portmaster.zip
|
||||
sha256: 20a78192995a55ffdfdf4cd9343897c6d1ef50351a8800d188e084f90a847726
|
||||
|
||||
# ES-DE
|
||||
|
||||
|
|
Loading…
Reference in a new issue