1 |
|
2 | import * as https from 'https';
|
3 | import { DownloadPlatform } from './download';
|
4 | export declare let systemDefaultPlatform: string;
|
5 | export declare function getVSCodeDownloadUrl(version: string, platform?: DownloadPlatform): string;
|
6 | export declare function urlToOptions(url: string): https.RequestOptions;
|
7 | export declare function downloadDirToExecutablePath(dir: string): string;
|
8 | export declare function insidersDownloadDirToExecutablePath(dir: string): string;
|
9 | export declare function insidersDownloadDirMetadata(dir: string): {
|
10 | version: any;
|
11 | date: any;
|
12 | };
|
13 | export interface IUpdateMetadata {
|
14 | url: string;
|
15 | name: string;
|
16 | version: string;
|
17 | productVersion: string;
|
18 | hash: string;
|
19 | timestamp: number;
|
20 | sha256hash: string;
|
21 | supportsFastUpdate: boolean;
|
22 | }
|
23 | export declare function getLatestInsidersMetadata(platform: string): Promise<IUpdateMetadata>;
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 | export declare function resolveCliPathFromVSCodeExecutablePath(vscodeExecutablePath: string): string;
|