mirror of
https://github.com/RetroDECK/RetroVERSE.git
synced 2026-10-16 17:16:39 +00:00
17 lines
617 B
Bash
Executable file
17 lines
617 B
Bash
Executable file
#!/bin/bash
|
|
|
|
source /app/libexec/launcher_functions.sh
|
|
|
|
# Setting component name and path based on the directory name
|
|
component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
|
|
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
|
|
|
export LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs:${DEFAULT_LD_LIBRARY_PATH}"
|
|
export SDL_SOUNDFONTS="${SDL_SOUNDFONTS:-/app/retrodeck/components/rtdink/dink/midi/TimGM6mb.sf2}"
|
|
|
|
log i "RetroDECK is now launching $component_name"
|
|
log d "Library path is: $LD_LIBRARY_PATH"
|
|
log d "AppDir is: $component_path"
|
|
|
|
exec "$component_path/RTDinkApp" "$@"
|