Skip to content

Instantly share code, notes, and snippets.

@coderofsalvation
Created July 1, 2026 09:37
Show Gist options
  • Select an option

  • Save coderofsalvation/0c9b45af76e6eaaeb913bd0bf66cf4e3 to your computer and use it in GitHub Desktop.

Select an option

Save coderofsalvation/0c9b45af76e6eaaeb913bd0bf66cf4e3 to your computer and use it in GitHub Desktop.
LÖVR deploy shellscript #adb #android #openxr #quest
test -f main.lua || { echo "[!] no main.lua found in current dir..aborting"; exit 1; }
adb shell rm -rf sdcard/Android/data/org.lovr.app/files
adb shell mkdir sdcard/Android/data/org.lovr.app/files
# we tar (not adb push --sync) to prevent running cached/outdated files
tar --exclude='.git' -chf - . | adb shell "cd /sdcard/Android/data/org.lovr.app/files && tar -xf -"
adb logcat -c # clear old output
adb shell am start -S org.lovr.app/org.lovr.app.Activity # start lovr app
adb logcat -s LOVR # output log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment