10 lines
293 B
Bash
10 lines
293 B
Bash
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
|
|
export APPDIR="${APPDIR:-$(cd "$(dirname "$0")" && pwd)}"
|
|
export PATH="$APPDIR/usr/bin:$PATH"
|
|
for hook in "$APPDIR"/apprun-hooks/*.sh; do
|
|
# shellcheck source=/dev/null
|
|
[[ ! -f "$hook" ]] || source "$hook"
|
|
done
|
|
exec "$APPDIR/usr/bin/meshcore_open" "$@" |