Skip to content

Commit d792b08

Browse files
committed
Add utility for pushing API token to bot
1 parent 2f4fc3a commit d792b08

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/api-token-pusher.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import os
2+
robotKey = input("API Key=")
3+
channelKey = input ("Channel=")
4+
myCmd = "adb shell am start -n tv.remo.android.controller/.activities.SplashScreen --es 'ApiKey' '%s' --es 'ChannelId' '%s'" % (robotKey, channelKey)
5+
os.system(myCmd)

0 commit comments

Comments
 (0)