@remote.it/core
Version:
Core remote.it JavasScript/TypeScript library
28 lines (27 loc) • 684 B
TypeScript
export declare abstract class GithubReleaseDownloader {
extension?: string
/**
* The repo name to download the file from (e.g. "remoteit/connectd")
*/
abstract repo: string
/**
* The version number to target (e.g. "v4")
*/
abstract version: string
/**
* The file name of the download (e.g. "connectd")
*/
abstract file: string
/**
* Where the file should be placed after downloading.
*/
abstract destination: string
download(): Promise<unknown>
readonly url: string
readonly fileName: string
/**
* Progress callback which gets updated
*/
progress(percent: number): void
}
//# sourceMappingURL=GithubReleaseDownloader.d.ts.map