1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.getDownloaderForSystem = void 0;
|
4 | async 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 | }
|
12 | exports.getDownloaderForSystem = getDownloaderForSystem;
|
13 | //# sourceMappingURL=downloader-resolver.js.map |
\ | No newline at end of file |