#4 Declined
Repository
love-android
Branch
master
Repository
love-android-sdl2
Branch
master

Allow load "/sdcard/lovegame/game.love" and cleanup for Android mount code.

Author
  1. Xpol Wan
Reviewers
Description

To load /sdcard/lovegame/main.lua which requires:

adb push <local_dir> /sdcard/lovegame

This is not friendly when <local_dir> has .git and other unnecessary files.

I think its nice to have /sdcard/lovegame/game.love to be loaded. So i can use zip to filter out unnecessary files.

Then just:

adb push <local.love> /sdcard/lovegame/game.love

Comments (1)

  1. Martin Felis repo owner

    You can do the following to conveniently start your game:

    adb push <local.love> /sdcard/lovegame/game.love
    adb shell am start -S -n "org.love2d.android/.GameActivity" -d "file:///sdcard/lovegame/game.love"