2020-08-26 13:06:00 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Export APPRUN if running from an extracted image
|
|
|
|
self="$(readlink -f -- $0)"
|
|
|
|
here="${self%/*}"
|
|
|
|
APPDIR="${APPDIR:-${here}}"
|
|
|
|
|
|
|
|
export ADB="${APPDIR}/usr/bin/adb"
|
|
|
|
export SCRCPY_SERVER_PATH="${APPDIR}/usr/local/share/scrcpy/scrcpy-server"
|
|
|
|
export PATH="${APPDIR}/usr/bin:${PATH}"
|
2020-09-12 13:53:47 +00:00
|
|
|
export LD_LIBRARY_PATH="${APPDIR}/usr/lib:${LD_LIBRARY_PATH}"
|
2021-01-18 09:58:45 +00:00
|
|
|
${APPDIR}/usr/bin/scrcpy "$@"
|