MCPcopy Index your code
hub / github.com/APKLab/APKLab / Tool

Interface Tool

src/utils/updater.ts:17–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 * Tool details for downloading it if it doesn't exist.
16 */
17export interface Tool {
18 /**
19 * Name of the tool.
20 */
21 name: string;
22 /**
23 * Latest supported version of the tool.
24 */
25 version: string;
26 /**
27 * Download URL.
28 */
29 downloadUrl: string;
30 /**
31 * Exact file name for downloaded tool.
32 */
33 fileName: string;
34 /**
35 * Name of the configuration related to the tool in extensionConfig object.
36 */
37 configName: string;
38 /**
39 * Is the downloaded file a zip file?
40 */
41 zipped: boolean;
42 /**
43 * If it's a zip file then where to extract it?
44 */
45 unzipDir?: string;
46}
47
48/**
49 * structure of update config data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected