Skip to content

Commit

Permalink
Converted into certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
prozanne committed Sep 10, 2020
1 parent e849293 commit 5e27b76
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Please note that, It should be run when you use first time on your tizen applica
.witsconfig.json and .witsignore files are generated on your tizen app project.
After then, you can modify your information to them.

#### 3. `wits -g` / `wits --generate`
#### 3. `wits -c` / `wits --certificate`

For creating a certification(Supported Tizen certification only).
As following steps, you can create a certification on `~/{path-to}/wits/resource/profiles.xml`.
Expand All @@ -124,7 +124,6 @@ on `Windows` and `MacOS` both, **WITs** recognises path segment only one separat
- **connectionInfo** (mandatory)
- deviceIp [string] : Device(TV) Ip address (In case of Emulator, Please input 0.0.0.0)
- hostIp [string] : Host(PC) Ip address
- socketPort [integer] : TV port. It is generated randomly in WITs.
- width [string] : Resolution
- isDebugMode [boolean] : Setting true, chrome inspector is launched automatically. / Setting false, nothing happened.
- **profileInfo** (mandatory)
Expand Down Expand Up @@ -152,9 +151,9 @@ stglib

![witsi](https://user-images.githubusercontent.com/1733182/77503919-3ddef280-6ea2-11ea-9bb4-06f3cb9ebbc6.gif)

### wits -g
### wits -c

![witsg](https://user-images.githubusercontent.com/1733182/92564253-d4b63480-f2b3-11ea-8ba0-933b9fbdd2ad.gif)
![witsc](https://user-images.githubusercontent.com/1733182/92706471-7fe7ec00-f38f-11ea-8d47-47b13f956906.gif)

### wits -s

Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ util.displayBanner();
program.version(`wits v${package.version}`);
program.option('-i, --init', 'Create a config file for running WITs');
program.option(
'-g, --generate',
'Generate a certification for packaging Tizen web app'
'-c, --certificate',
'Generate a certification for signing Tizen web app'
);
program.option('-s, --start', 'Start and Use WITs service');
program.option('-w, --watch', 'Watch project for live reloading');
Expand All @@ -29,9 +29,9 @@ program.parse(process.argv);
if (program.init) {
const initCommand = require('../command/init.js');
initCommand.run(program.init);
} else if (program.generate) {
const generateCommand = require('../command/generate.js');
generateCommand.run();
} else if (program.certificate) {
const certificateCommand = require('../command/certificate.js');
certificateCommand.run();
} else if (program.start) {
const startCommand = require('../command/start.js');
startCommand.run();
Expand Down

0 comments on commit 5e27b76

Please sign in to comment.