LarpixClient/electron/node_modules/@electron/get/dist/cjs/downloader-resolver.js
olcxja 5da5c2afe2
All checks were successful
Android Build / publish (push) Successful in 31s
Linux Build / publish (push) Successful in 55s
fix gitignore again
2026-05-10 16:36:35 +02:00

12 lines
No EOL
617 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
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 Promise.resolve().then(() => require('./GotDownloader'));
return new GotDownloader();
}
exports.getDownloaderForSystem = getDownloaderForSystem;
//# sourceMappingURL=downloader-resolver.js.map