Skip to content

Instantly share code, notes, and snippets.

@NoahRoseLedesma
Created October 31, 2015 18:58
Show Gist options
  • Save NoahRoseLedesma/fb941fcc0cf4a5c5f7e0 to your computer and use it in GitHub Desktop.
Save NoahRoseLedesma/fb941fcc0cf4a5c5f7e0 to your computer and use it in GitHub Desktop.
@echo off
if exist notice.vbs (
rem file exists
) else (
(
echo Set objArgs = WScript.Arguments
echo messageText = objArgs^(0^)
echo MsgBox messageText
) >notice.vbs
)
echo obligatory "F Gradle". ADB FALLBACK INSTALL STARTED.
rem Delete the app if it exists, if not whatever.
adb uninstall com.qualcomm.ftcrobotcontroller
rem Install the new app...
adb install "./build/outputs/apk/FtcRobotController-debug.apk"
rem Good. Now let the user know
cscript "./notice.vbs" "Finished install tasks."
pause
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment