forked from olcxjas-softworks/LarpixClient
update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
18
electron/node_modules/@electron/get/dist/Downloader.d.ts
generated
vendored
Normal file
18
electron/node_modules/@electron/get/dist/Downloader.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/**
|
||||
* Generic interface for the artifact downloader library.
|
||||
* The default implementation is {@link FetchDownloader},
|
||||
* but any custom downloader can be passed to `@electron/get` via
|
||||
* the {@link ElectronDownloadRequestOptions.downloader} option.
|
||||
*
|
||||
* @typeParam T - Options to pass to the downloader
|
||||
* @category Downloader
|
||||
*/
|
||||
export interface Downloader<T> {
|
||||
/**
|
||||
* Download an artifact from an arbitrary URL to a file path on system
|
||||
* @param url URL of the file to download
|
||||
* @param targetFilePath Filesystem path to download the artifact to (including the file name)
|
||||
* @param options Options to pass to the downloader
|
||||
*/
|
||||
download(url: string, targetFilePath: string, options: T): Promise<void>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue