PORTMASTER: adding a wrapper to manage the script to being out of the bin folder later

This commit is contained in:
XargonWan 2024-08-25 09:14:54 +09:00
parent 5f6eaf7786
commit 4008fe2512

View file

@ -531,12 +531,19 @@ modules:
build-commands: build-commands:
- mkdir -p "${FLATPAK_DEST}/retrodeck/PortMaster/" - mkdir -p "${FLATPAK_DEST}/retrodeck/PortMaster/"
- cp retrodeck.portmaster.zip "${FLATPAK_DEST}/retrodeck/PortMaster.zip" - cp retrodeck.portmaster.zip "${FLATPAK_DEST}/retrodeck/PortMaster.zip"
- ln -s "/var/data/PortMaster/PortMaster.sh" "${FLATPAK_DEST}/bin/PortMaster" - cp "PortMaster.sh" "${FLATPAK_DEST}/bin/PortMaster"
- chmod +x ${FLATPAK_DEST}/PortMaster - chmod +x ${FLATPAK_DEST}/PortMaster
sources: sources:
- type: file - type: file
url: https://github.com/PortsMaster/PortMaster-GUI/releases/download/2024.08.24-1111/retrodeck.portmaster.zip url: https://github.com/PortsMaster/PortMaster-GUI/releases/download/2024.08.24-1111/retrodeck.portmaster.zip
sha256: 20a78192995a55ffdfdf4cd9343897c6d1ef50351a8800d188e084f90a847726 sha256: 20a78192995a55ffdfdf4cd9343897c6d1ef50351a8800d188e084f90a847726
- type: script
commands:
- |
#!/bin/bash
"/var/data/PortMaster/PortMaster.sh" "$@"
dest-filename: PortMaster.sh
# ES-DE # ES-DE