Skip to content

Instantly share code, notes, and snippets.

@pcornier
Last active November 12, 2022 10:27
Show Gist options
  • Select an option

  • Save pcornier/e536577b14f8713ac02a73676948dd4c to your computer and use it in GitHub Desktop.

Select an option

Save pcornier/e536577b14f8713ac02a73676948dd4c to your computer and use it in GitHub Desktop.
External command for DroidEdit that runs a project w/ Löve. Termux & Löve2D are required.
- project directory in /storage/emulated/0/Download/projects/...
- sshd is running in termux and storage mounted
- files are edited with DroidEdit through ssh: ~/storage/downloads/projects/...
- external Löve command:
cd ${path} && zip -r test.love * -x test.love && am start -t org.love2d.android -a android.intent.action.VIEW -d "file://${path}/test.love"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment