Răsfoiți Sursa

Update push docs based on empirical testing;

bjorn 5 ani în urmă
părinte
comite
1d1e2eca34
1 a modificat fișierele cu 5 adăugiri și 2 ștergeri
  1. 5 2
      guides/Getting_Started_(Android).md

+ 5 - 2
guides/Getting_Started_(Android).md

@@ -45,14 +45,17 @@ function lovr.draw()
 end
 ```
 
-Then use `adb` to sync it to the device (this can be done while the app is running):
+Then use `adb` to sync it to the device:
 
 ```
-adb push --sync /path/to/hello-world /sdcard/Android/data/org.lovr.test/files/.lodr
+adb push --sync /path/to/hello-world/. /sdcard/Android/data/org.lovr.test/files/.lodr
 ```
 
 You should see the "hello world" message!
 
+If the app is already running when a project is pushed, it will reload with the new code.  Also note
+the trailing `.` in the path to the project, it's important!
+
 Tips
 ---