mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-26 07:55:37 +00:00
GYRODSU: migrated to component, added missing files
This commit is contained in:
parent
5c5add03d3
commit
65c5eedd71
|
@ -437,10 +437,6 @@ finit() {
|
|||
install_retrodeck_starterpack
|
||||
fi
|
||||
|
||||
# Installing GyroDSU
|
||||
echo "Initializing GyroDSU" #TODO: LOGGER
|
||||
/app/retrodeck/install-gyrodsu.sh
|
||||
|
||||
) | # Don't delete this!
|
||||
zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \
|
||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||
|
|
|
@ -745,6 +745,17 @@ prepare_emulator() {
|
|||
|
||||
fi
|
||||
|
||||
if [[ "$emulator" =~ ^(gyrodsu|GyroDSU|all)$ ]]; then
|
||||
echo "----------------------"
|
||||
echo "Initializing GYRODSU"
|
||||
echo "----------------------"
|
||||
rm -rf /var/data/gyrodsu
|
||||
mkdir -p /var/data/gyrodsu
|
||||
cd /app/retrodeck/gyrodsu
|
||||
/app/retrodeck/gyrodsu/install-gyrodsu.sh
|
||||
cd - # back to the previous dir
|
||||
fi
|
||||
|
||||
# Update presets for all emulators after any reset or move
|
||||
if [[ ! "$emulator" == "retrodeck" ]]; then
|
||||
build_retrodeck_current_presets
|
||||
|
|
|
@ -724,10 +724,13 @@ modules:
|
|||
- name: gyrodsu
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- mkdir -p ${FLATPAK_DEST}/retrodeck
|
||||
- cp install.sh ${FLATPAK_DEST}/retrodeck/install-gyrodsu.sh
|
||||
- chmod +x ${FLATPAK_DEST}/retrodeck/install-gyrodsu.sh
|
||||
- sed -i 's/\$HOME/\/var\/data\/gyrodsu/g' ${FLATPAK_DEST}/retrodeck/install-gyrodsu.sh
|
||||
- mkdir -p ${FLATPAK_DEST}/retrodeck/gyrodsu
|
||||
- cp install.sh ${FLATPAK_DEST}/retrodeck/gyrodsu
|
||||
- cp logcurrentrun.sh ${FLATPAK_DEST}/retrodeck/gyrodsu
|
||||
- cp sdgyrodsu ${FLATPAK_DEST}/retrodeck/gyrodsu
|
||||
- cp sdgyrodsu.service ${FLATPAK_DEST}/retrodeck/gyrodsu
|
||||
- chmod +x ${FLATPAK_DEST}/retrodeck/gyrodsu/install-gyrodsu.sh
|
||||
- sed -i 's/\$HOME/\/var\/data\/gyrodsu/g' ${FLATPAK_DEST}/retrodeck/gyrodsu/install-gyrodsu.sh
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/kmicki/SteamDeckGyroDSU/releases/latest/download/SteamDeckGyroDSUSetup.zip
|
||||
|
|
Loading…
Reference in a new issue