Add root-level wrapper scripts for user-facing CLI/GUI launchers
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
ROOT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||
PAYLOAD_DIR="$ROOT_DIR/build/payload"
|
||||
TARGET="$PAYLOAD_DIR/HiperisoWeb.sh"
|
||||
if [ ! -x "$TARGET" ] && [ ! -f "$TARGET" ]; then
|
||||
printf '%s\n' "Missing $TARGET. Build first with: ./scripts/build_all.sh" >&2
|
||||
exit 1
|
||||
fi
|
||||
exec "$TARGET" "$@"
|
||||
Reference in New Issue
Block a user