Refresh and added usage tracking

This commit is contained in:
Hannes
2026-04-24 00:47:51 +02:00
parent 8519d9f62e
commit 477b1bf985
45 changed files with 726 additions and 166 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
APP_DIR="$HOME/.local/share/grayjay"
# Check if app is already installed in user directory
if [ ! -d "$APP_DIR" ]; then
echo "First run - installing Grayjay to $APP_DIR"
mkdir -p "$APP_DIR"
cp -r /usr/share/grayjay/* "$APP_DIR/"
chmod u+w -R "$APP_DIR"
fi
exec sh -c "cd '$APP_DIR' && exec ./Grayjay \"\$@\"" -- "$@"