aboutsummaryrefslogtreecommitdiff
path: root/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'entrypoint.sh')
-rw-r--r--entrypoint.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/entrypoint.sh b/entrypoint.sh
index 713d82d..417fa14 100644
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -28,6 +28,9 @@ case "$arguments" in
echo "Run custom commands : ${arguments}"
/bin/sh -c "$arguments";;
*)
- echo "Run NeosVR headless client"
+ echo "Cleaning old stuff..."
+ find /steam/${LAUNCH_APP}/Data/Assets -atime +7 -delete
+ find /steam/${LAUNCH_APP}/Data/Cache -atime +7 -delete
+ echo "Run NeosVR headless client..."
cd /steam/${LAUNCH_APP}/ && mono Neos.exe;;
esac