New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tizen-utils

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tizen-utils

Helpful scripts for Tizen development

latest
Source
npmnpm
Version
1.2.27
Version published
Maintainers
1
Created
Source

tizen-utils

Tizen-utils lets you pack your app and install on target.

install

$ npm install tizen-utils -g

example

$ cd /path/to/your/app/directory/

$ tizen init //create config.xml
$ tizen wgt //create wgt file
$ tizen sign //create signed wgt file
$ tizen install //install app/wgt on target
$ tizen list //list all installed apps on target with wgtIds
$ tizen run [wgtId] //start running app
$ tizen close [wgtId] //stop running app
$ tizen uninstall [wgtId] //uninstall wgt from target
$ tizen debug [wgtId] //start running app with debug mode
$ tizen emulator //open Emulator Manager if installed
$ tizen get //get value from tizen.json
$ tizen set //set value in tizen.json
$ npm install tizen-utils --save-dev

var tizen = require('tizen-utils');

tizen.wgt('/path/to/your/app/directory/', 'WgtName.wgt', function (wgt) {
  tizen.install(wgt);
});

methods

init()

It helps you create a config.xml file.

wgt(dirPath, wgtName, callback)

Create wgt file. Zips up dirPath and returns the wgt name into callback on success.

  • dirPath[optional] A path to dir of your app.
  • wgtName[optional] A widget name to be created. Default: (curent_dir_name.wgt).
  • callback[optional] A function that is called on success. It returns wgtName.

sign(dirPath, callback)

Create signed wgt file. It will automatically create certificate and security profile.

  • dirPath[optional] An absolute path to dir of your app.
  • callback[optional] A function that is called on success.

install(pathToWgt)

Install widget on target from local directory pathToWgt.

  • pathToWgt A path to your wgt file on your PC.

uninstall(wgtId)

Uninstall widget from target by wgtId.

list()

List all installed widgets with wgtIds.

run(wgtId)

Run widget with wgtId.

close(wgtId)

Close widget with wgtId.

debug(wgtId)

Debug application with wgtId.

emulator()

Open Emulator Manager if is installed.

Keywords

tizen

FAQs

Package last updated on 24 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts