mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-31 12:35:39 +00:00
Merge pull request #679 from icenine451/cooker-0.7.6b-icenine451
Cooker 0.7.6b icenine451
This commit is contained in:
commit
5833e21137
|
@ -467,7 +467,7 @@ install_retrodeck_controller_profile() {
|
|||
# USAGE: install_retrodeck_controller_profile
|
||||
if [[ -d "$HOME/.steam/steam/tenfoot/resource/images/library/controller/binding_icons/" && -d "$HOME/.steam/steam/controller_base/templates/" ]]; then
|
||||
rsync -rlD --mkpath "/app/retrodeck/binding_icons/" "$HOME/.steam/steam/tenfoot/resource/images/library/controller/binding_icons/"
|
||||
cp -f "$emuconfigs/defaults/retrodeck/controller_configs/*.vdf" "$HOME/.steam/steam/controller_base/templates"
|
||||
rsync -rlD --mkpath "$emuconfigs/defaults/retrodeck/controller_configs/" "$HOME/.steam/steam/controller_base/templates/"
|
||||
else
|
||||
configurator_generic_dialog "RetroDECK Controller Profile Install" "The target directories for the controller profile do not exist.\n\nThis may happen if you do not have Steam installed or the location is does not have permission to be read."
|
||||
fi
|
||||
|
|
|
@ -189,6 +189,12 @@ if [[ $update_check == "true" ]]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# THIS IS A ONE-OFF FORCED REFRESH OF RETRODECK CONTROLLER PROFILES IN A 0.7.6b VERSION REFRESH - REMOVE BEFORE NEXT VERSION RELEASE
|
||||
if [[ -f "$HOME/.steam/steam/controller_base/templates/RetroDECK_controller_config.vdf" ]]; then # If RetroDECK controller profile has been previously installed
|
||||
install_retrodeck_controller_profile
|
||||
fi
|
||||
# REMOVE BEFORE NEXT VERSION RELEASE
|
||||
|
||||
# Normal Startup
|
||||
|
||||
start_retrodeck
|
||||
|
|
Loading…
Reference in a new issue