dblume commited on 2023-01-19 12:50:43
Showing 3 changed files, with 15 additions and 5 deletions.
| ... | ... |
@@ -27,7 +27,16 @@ If you're me, and you want to contribute to the repo, then you can clone it like |
| 27 | 27 |
## Building it |
| 28 | 28 |
|
| 29 | 29 |
[Ensure you can sideload a dev channel](https://sdkdocs.roku.com/display/sdkdoc/Loading+and+Running+Your+Application). |
| 30 |
-Then see the "build\_systems" command in dxb\_channel.sublime-project to see how the channel is zipped and deployed. |
|
| 30 |
+ |
|
| 31 |
+### CLI |
|
| 32 |
+ |
|
| 33 |
+Running make will build and deploy if you have `$ROKU_DEV_TARGET` set. |
|
| 34 |
+ |
|
| 35 |
+ make |
|
| 36 |
+ |
|
| 37 |
+### IDE |
|
| 38 |
+ |
|
| 39 |
+See the "build\_systems" command in dxb\_channel.sublime-project to see how the channel is zipped and deployed. |
|
| 31 | 40 |
|
| 32 | 41 |
## Experimenting |
| 33 | 42 |
|
| ... | ... |
@@ -36,9 +36,10 @@ function executeTest() as void |
| 36 | 36 |
|
| 37 | 37 |
deviceInfo = CreateObject("roDeviceInfo")
|
| 38 | 38 |
aaConnectionInfo = deviceInfo.GetConnectionInfo() |
| 39 |
- for each key in aaConnectionInfo |
|
| 39 |
+ m.top.updateText = "roDeviceInfo.GetConnectionInfo" |
|
| 40 |
+ for each key in aaConnectionInfo.Keys() |
|
| 40 | 41 |
val = aaConnectionInfo[key] |
| 41 |
- m.top.updateText = key + " = " + val.ToStr() |
|
| 42 |
+ m.top.updateText = " " + key + " = " + val.ToStr() |
|
| 42 | 43 |
end for |
| 43 | 44 |
|
| 44 | 45 |
request = GetRequest() |
| ... | ... |
@@ -51,7 +52,7 @@ function executeTest() as void |
| 51 | 52 |
msg = wait(0, port) |
| 52 | 53 |
if type(msg) = "roUrlEvent" |
| 53 | 54 |
if msg.GetInt() = 1 |
| 54 |
- m.top.updateText = "PSI Request roUrlEvent = " + msg.GetResponseCode().ToStr() |
|
| 55 |
+ print "PSI Request roUrlEvent = " + msg.GetResponseCode().ToStr() |
|
| 55 | 56 |
end if |
| 56 | 57 |
' else if msg = invalid |
| 57 | 58 |
' request.AsyncCancel() |