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 $ tizen wgt $ tizen sign $ tizen install $ tizen list $ tizen run [ wgtId ] $ tizen close [ wgtId ] $ tizen uninstall [ wgtId ] $ tizen debug [ wgtId ] $ tizen emulator $ tizen get $ tizen set

$ 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

It helps you create a config.xml file.

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

dirPath [optional] A path to dir of your app.

[optional] A path to dir of your app. wgtName [optional] A widget name to be created. Default: (curent_dir_name.wgt).

[optional] A widget name to be created. Default: (curent_dir_name.wgt). callback [optional] A function that is called on success. It returns wgtName .

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

dirPath [optional] An absolute path to dir of your app.

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

Install widget on target from local directory pathToWgt .

pathToWgt A path to your wgt file on your PC.

Uninstall widget from target by wgtId .

List all installed widgets with wgtIds.

Run widget with wgtId .

Close widget with wgtId .

Debug application with wgtId .

Open Emulator Manager if is installed.