Files
grout/scripts/NextUI/launch.sh
Brandon T. Kowalski daa864c3b3 feat: add update preamble to all launch scripts
Each launch script now checks for a .update staging directory after
cd'ing to the binary dir. If present, it copies the contents over the
install and removes the staging dir before starting grout. Also cleans
up leftover update artifacts on startup.
2026-03-26 18:48:58 -04:00

15 lines
236 B
Bash

#!/bin/sh
CUR_DIR="$(dirname "$0")"
cd "$CUR_DIR" || exit 1
# Apply pending update
if [ -d ".update" ]; then
cp -rf .update/* .
rm -rf .update
fi
export CFW=NEXTUI
export LD_LIBRARY_PATH=$CUR_DIR/lib:$LD_LIBRARY_PATH
./grout