mirror of
https://github.com/rommapp/grout.git
synced 2026-04-23 06:54:36 +00:00
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.
15 lines
236 B
Bash
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
|