Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package-lock.json
.buildpath
.project
.settings
*/staging
*/dist
7 changes: 7 additions & 0 deletions manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title=BrightWebSocket
major_version=1
minor_version=0
build_version=1
mm_icon_focus_hd=pkg:/images/icon_focus_hd.png
mm_icon_focus_sd=pkg:/images/icon_focus_sd.png
splash_rsg_optimization=1
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Notes:

The contents of the "src" folder in the repository's root should be placed
in the "components" folder of a SceneGraph Roku app.

# Using the Library

The client follows the
[HTML WebSocket interface](https://html.spec.whatwg.org/multipage/web-sockets.html#the-websocket-interface),
The client follows the
[HTML WebSocket interface](https://html.spec.whatwg.org/multipage/web-sockets.html#the-websocket-interface),
modified to work with BrightScript conventions. Those familiar with browser
(JavaScript) WebSocket implementations should find this client similar.

Expand All @@ -43,7 +43,7 @@ end function
```

For a working sample app see the "test" folder. Its contents can be zipped for
installation as a dev channel on a Roku.
installation as a dev channel on a Roku using `cd test && make install`

# License

Expand Down
23 changes: 23 additions & 0 deletions test/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#########################################################################
# Simple makefile for packaging VideoCanvas test channel
#
# Makefile Usage:
# > make
# > make install
# > make remove
#
# Important Notes:
# To use the "install" and "remove" targets to install your
# application directly from the shell, you must do the following:
#
# 1) Make sure that you have the curl command line executable in your path
# 2) Set the variable ROKU_DEV_TARGET in your environment to the IP
# address of your Roku box. (e.g. export ROKU_DEV_TARGET=192.168.1.1.
# Set in your this variable in your shell startup (e.g. .bashrc)
##########################################################################
APPNAME = BrightWebSocket
VERSION = 1.0

ZIP_EXCLUDE= -x \*.pkg -x storeassets\* -x keys\* -x \*/.\*

include ./app.mk
Loading