You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
681 B

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.install = install;
var _brewInstall = require("./brewInstall");
var _common = require("./healthchecks/common");
async function install({
pkg,
label,
url,
loader
}) {
try {
switch (process.platform) {
case 'darwin':
await (0, _brewInstall.brewInstall)({
pkg,
label,
loader
});
break;
default:
throw new Error('Not implemented yet');
}
} catch (_error) {
loader.fail();
(0, _common.logManualInstallation)({
healthcheck: label,
url
});
}
}
//# sourceMappingURL=install.js.map