-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.d.ts
More file actions
50 lines (46 loc) · 1.77 KB
/
index.d.ts
File metadata and controls
50 lines (46 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
type Options = {
/**
* Proxy address
*/
proxy: string;
};
/**
* Download the tizen tool and return the tool's path.
*
* Check whole package with your OS version :
* - [windows-32](http://download.tizen.org/sdk/tizenstudio/official/pkg_list_windows-32)
* - [windows-64](http://download.tizen.org/sdk/tizenstudio/official/pkg_list_windows-64)
* - [ubuntu-32](http://download.tizen.org/sdk/tizenstudio/official/pkg_list_ubuntu-32)
* - [ubuntu-64](http://download.tizen.org/sdk/tizenstudio/official/pkg_list_ubuntu-64)
* - [macos-64](http://download.tizen.org/sdk/tizenstudio/official/pkg_list_macos-64)
*
* In *Linux* or *OSX*, the download root is `~/tizen-tools`.
*
* In *Window*, the download root is `C:\\tizen-tools`.
* @param toolName Tool name.
* @param options `Optional`. Set a proxy address manually. Or work with npm's proxy.
*/
export function getToolPath(
toolName: string,
option?: Options
): Promise<string>;
/**
* Download the `sdb` and get the path.
* @param option `Optional`. Set a proxy address manually. Or work with npm's proxy.
*/
export function getSdbPath(option?: Options): Promise<string>;
/**
* Download the `certificate-encryptor` and get the path.
* @param option `Optional`. Set a proxy address manually. Or work with npm's proxy.
*/
export function getEncryptorPath(option?: Options): Promise<string>;
/**
* Download the `certificate-generator` and get the path.
* @param option `Optional`. Set a proxy address manually. Or work with npm's proxy.
*/
export function getTizenCertPath(option?: Options): Promise<string>;
/**
* Download the `samsung-certificate` and get the path.
* @param option `Optional`. Set a proxy address manually. Or work with the npm's proxy.
*/
export function getSamsungCertPat(option?: Options): Promise<string>;