UNPKG

617 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3async function getDownloaderForSystem() {
4 // TODO: Resolve the downloader or default to GotDownloader
5 // Current thoughts are a dot-file traversal for something like
6 // ".electron.downloader" which would be a text file with the name of the
7 // npm module to import() and use as the downloader
8 const { GotDownloader } = await Promise.resolve().then(() => require('./GotDownloader'));
9 return new GotDownloader();
10}
11exports.getDownloaderForSystem = getDownloaderForSystem;
12//# sourceMappingURL=downloader-resolver.js.map
\No newline at end of file