UNPKG

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