mirror of
https://github.com/RetroDECK/RetroVERSE.git
synced 2026-10-16 17:16:39 +00:00
33 lines
602 B
Bash
Executable file
33 lines
602 B
Bash
Executable file
#!/bin/bash
|
|
|
|
_prepare_component::rtdink() {
|
|
local action="$1"
|
|
shift
|
|
|
|
local component_config="$(get_own_component_path)/rd_config"
|
|
|
|
case "$action" in
|
|
|
|
reset)
|
|
log i "----------------------"
|
|
log i "Resetting RTDink"
|
|
log i "----------------------"
|
|
|
|
dir_prep "$roms_path/dink" "$storage_path/retrodeck/retroverse/rtdink/dmods"
|
|
|
|
;;
|
|
|
|
postmove)
|
|
log i "------------------------"
|
|
log i "Post-moving RTDink"
|
|
log i "------------------------"
|
|
|
|
dir_prep "$roms_path/dink" "$storage_path/retrodeck/retroverse/rtdink/dmods"
|
|
|
|
;;
|
|
|
|
esac
|
|
}
|
|
|
|
|