GitHub
Type the following command and press enter: adb devices Now open Snapchat.
Check out this article on xda-developers.
Now you can run the script on your computer.