summaryrefslogtreecommitdiff
path: root/desktop/node_modules/@electron/get/dist/esm/downloader-resolver.js
blob: 5a87c3cfe7726568e524cf25a0ab041f962334d0 (plain)
1
2
3
4
5
6
7
8
9
export async function getDownloaderForSystem() {
    // TODO: Resolve the downloader or default to GotDownloader
    // Current thoughts are a dot-file traversal for something like
    // ".electron.downloader" which would be a text file with the name of the
    // npm module to import() and use as the downloader
    const { GotDownloader } = await import('./GotDownloader');
    return new GotDownloader();
}
//# sourceMappingURL=downloader-resolver.js.map