mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-02-16 19:35:39 +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
|
install_retrodeck_starterpack
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Installing GyroDSU
|
|
||||||
echo "Initializing GyroDSU" #TODO: LOGGER
|
|
||||||
/app/retrodeck/install-gyrodsu.sh
|
|
||||||
|
|
||||||
) | # Don't delete this!
|
) | # Don't delete this!
|
||||||
zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \
|
zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
|
|
|
@ -745,6 +745,17 @@ prepare_emulator() {
|
||||||
|
|
||||||
fi
|
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
|
# Update presets for all emulators after any reset or move
|
||||||
if [[ ! "$emulator" == "retrodeck" ]]; then
|
if [[ ! "$emulator" == "retrodeck" ]]; then
|
||||||
build_retrodeck_current_presets
|
build_retrodeck_current_presets
|
||||||
|
|
|
@ -724,10 +724,13 @@ modules:
|
||||||
- name: gyrodsu
|
- name: gyrodsu
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
build-commands:
|
build-commands:
|
||||||
- mkdir -p ${FLATPAK_DEST}/retrodeck
|
- mkdir -p ${FLATPAK_DEST}/retrodeck/gyrodsu
|
||||||
- cp install.sh ${FLATPAK_DEST}/retrodeck/install-gyrodsu.sh
|
- cp install.sh ${FLATPAK_DEST}/retrodeck/gyrodsu
|
||||||
- chmod +x ${FLATPAK_DEST}/retrodeck/install-gyrodsu.sh
|
- cp logcurrentrun.sh ${FLATPAK_DEST}/retrodeck/gyrodsu
|
||||||
- sed -i 's/\$HOME/\/var\/data\/gyrodsu/g' ${FLATPAK_DEST}/retrodeck/install-gyrodsu.sh
|
- 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:
|
sources:
|
||||||
- type: archive
|
- type: archive
|
||||||
url: https://github.com/kmicki/SteamDeckGyroDSU/releases/latest/download/SteamDeckGyroDSUSetup.zip
|
url: https://github.com/kmicki/SteamDeckGyroDSU/releases/latest/download/SteamDeckGyroDSUSetup.zip
|
||||||
|
|
Loading…
Reference in a new issue