1.2.27 • Published 7 years ago

tizen-utils v1.2.27

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

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.

  • dirPathoptional A path to dir of your app.
  • wgtNameoptional A widget name to be created. Default: (curent_dir_name.wgt).
  • callbackoptional 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.

  • dirPathoptional An absolute path to dir of your app.
  • callbackoptional 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.

1.2.27

7 years ago

1.2.26

8 years ago

1.2.25

8 years ago

1.2.24

8 years ago

1.2.23

8 years ago

1.2.22

8 years ago

1.2.21

8 years ago

1.2.20

8 years ago

1.2.19

8 years ago

1.2.18

8 years ago

1.2.17

8 years ago

1.2.16

8 years ago

1.2.15

8 years ago

1.2.14

8 years ago

1.2.13

8 years ago

1.2.12

8 years ago

1.2.11

8 years ago

1.2.10

8 years ago

1.2.9

8 years ago

1.2.8

8 years ago

1.2.7

8 years ago

1.2.6

8 years ago

1.2.5

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago