Skip to content

Instantly share code, notes, and snippets.

@chaosbytes
Forked from laat/tizen.sh
Created March 28, 2022 21:15
Show Gist options
  • Save chaosbytes/3d75d46e12c8e19e5d41ee7e2b9e7a4c to your computer and use it in GitHub Desktop.
Save chaosbytes/3d75d46e12c8e19e5d41ee7e2b9e7a4c 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