UNPKG

459 BJavaScriptView Raw
1export async function getDownloaderForSystem() {
2 // TODO: Resolve the downloader or default to GotDownloader
3 // Current thoughts are a dot-file traversal for something like
4 // ".electron.downloader" which would be a text file with the name of the
5 // npm module to import() and use as the downloader
6 const { GotDownloader } = await import('./GotDownloader');
7 return new GotDownloader();
8}
9//# sourceMappingURL=downloader-resolver.js.map
\No newline at end of file