Skip to content

Instantly share code, notes, and snippets.

@MrAndrewMal
Forked from laat/tizen.sh
Created November 28, 2020 23:47
Show Gist options
  • Save MrAndrewMal/47d2039c62a9686ebdf6d65879a6ee33 to your computer and use it in GitHub Desktop.
Save MrAndrewMal/47d2039c62a9686ebdf6d65879a6ee33 to your computer and use it in GitHub Desktop.
Notes on Tizen commands that might work
sdb connect <ip>:<port> # connect to TV
sdb -s <deviceName> capability # get <installationPath>
# build
tizen cli-config "default.profiles.path=<profile_path>"
tizen build-web -out .buildResult -- <source-dir>
tizen package --type wgt --sign profileName -- <source-dir>/.buildResult # extract <package-file>
mv <package-file> .
rm -rf <source-dir>/.buildResult
# install
sdb -s <deviceName> push tizen/build/<0000.name>.wgt <installationPath>
sdb -s <deviceName> shell 0 vd_appinstall <0000.name> <installationPath>/<0000.name>.wgt
# uninstall
sdb -s <deviceName> shell 0 vd_appuninstall <0000.name>
# launch app (debug)
sdb -s <deviceName> shell 0 debug <0000.name> # get <port>
sdb -s <deviceName> forward --remove tcp:<port>
sdb -s <deviceName> forward tcp:<port> tcp:<port>
# then open Chrome on http://localhost:<port>
# launch app
sdb -s shell 0 was_execute <0000.name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment