mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
STEAM_ROM_MANAGER: casing names descriptions
This commit is contained in:
parent
648fae3968
commit
555068ff95
|
@ -83,7 +83,7 @@ prepare_component() {
|
|||
if [[ "$component" =~ ^(steam_rom_manager|all)$ ]]; then
|
||||
component_found="true"
|
||||
log i "----------------------"
|
||||
log i "Prepearing STEAM ROM MANAGER"
|
||||
log i "Prepearing Steam ROM Manager"
|
||||
log i "----------------------"
|
||||
|
||||
python3 /app/libexec/steam-sync/resetsync.py
|
||||
|
|
|
@ -9,7 +9,7 @@ def resetfun(rdhome):
|
|||
os.system("/app/bin/zypak-wrapper /app/srm/steam-rom-manager list")
|
||||
srm_path=os.path.expanduser("~/.var/app/net.retrodeck.retrodeck/config/steam-rom-manager/userData/userConfigurations.json")
|
||||
if not os.path.isfile(srm_path):
|
||||
print("Steam Rom Manager configuration not initialized! Initializing now.")
|
||||
print("Steam ROM Manager configuration not initialized! Initializing now.")
|
||||
shutil.copyfile("/app/libexec/steam-sync/userConfigurations.json", srm_path)
|
||||
|
||||
with open(srm_path,"r") as f:
|
||||
|
|
|
@ -391,7 +391,7 @@ def start_config():
|
|||
|
||||
srm_path=os.path.expanduser("~/.var/app/net.retrodeck.retrodeck/config/steam-rom-manager/userData/userConfigurations.json")
|
||||
if not os.path.isfile(srm_path):
|
||||
print("Steam Rom Manager configuration not initialized! Initializing now.")
|
||||
print("Steam ROM Manager configuration not initialized! Initializing now.")
|
||||
resetfun(rdhome)
|
||||
|
||||
if __name__=="__main__":
|
||||
|
|
|
@ -31,7 +31,7 @@ finish-args:
|
|||
- --env=SDL_VIDEO_WAYLAND_WMCLASS=net.retrodeck.retrodeck
|
||||
# XEMU - Fixes issues with openSUSE systems, QEMU_AUDIO_DRV is defined as "pa" causing xemu to not launch
|
||||
- --unset-env=QEMU_AUDIO_DRV
|
||||
# Steam Rom Manager
|
||||
# Steam ROM Manager
|
||||
- --filesystem=xdg-data/Steam:rw #Steam (flatpak)
|
||||
- --filesystem=~/.steam:rw # Steam (Non-flatpak)
|
||||
- --filesystem=~/.var/app/com.valvesoftware.Steam:rw # Steam (Flatpak)
|
||||
|
|
|
@ -1152,13 +1152,13 @@ configurator_reset_dialog() {
|
|||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --width=1200 --height=720 \
|
||||
--text="Which component do you want to reset to default settings?" \
|
||||
--column="Component" --column="Action" \
|
||||
"Steam Rom Manager" "Reset SRM that manages the sync and scraping toward Steam library" \
|
||||
"Steam ROM Manager" "Reset SRM that manages the sync and scraping toward Steam library" \
|
||||
"ES-DE" "Reset the ES-DE frontend" \ )
|
||||
# TODO: "GyroDSU" "Reset the gyroscope manager GyroDSU"
|
||||
|
||||
case $component_to_reset in
|
||||
|
||||
"Steam Rom Manager" | "ES-DE" ) # TODO: GyroDSU
|
||||
"Steam ROM Manager" | "ES-DE" ) # TODO: GyroDSU
|
||||
if [[ $(configurator_reset_confirmation_dialog "$component_to_reset" "Are you sure you want to reset $component_to_reset to default settings?\n\nThis process cannot be undone.") == "true" ]]; then
|
||||
prepare_component "reset" "$component_to_reset" "configurator"
|
||||
configurator_process_complete_dialog "resetting $component_to_reset"
|
||||
|
@ -1268,7 +1268,7 @@ configurator_add_steam() {
|
|||
zenity --question \
|
||||
--no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||
--title "RetroDECK Configurator - RetroDECK Steam Syncronization" \
|
||||
--text="Steam syncronization is currently disabled. Do you want to enable it?\n\nAll the games marked as favorites will be syncronized with Steam Rom Manager.\nRemember to restart Steam each time to see the changes.\n"
|
||||
--text="Steam syncronization is currently disabled. Do you want to enable it?\n\nAll the games marked as favorites will be syncronized with Steam ROM Manager.\nRemember to restart Steam each time to see the changes.\n"
|
||||
|
||||
if [ $? == 0 ]
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue