"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const packager_1 = require("@electron/packager");
function parseArchs(platform, declaredArch, electronVersion) {
    if (declaredArch === 'all') {
        return (0, packager_1.allOfficialArchsForPlatformAndVersion)(platform, electronVersion) || ['x64'];
    }
    return declaredArch.split(',');
}
exports.default = parseArchs;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2UtYXJjaHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdXRpbC9wYXJzZS1hcmNocy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLGlEQUE4RjtBQUU5RixTQUF3QixVQUFVLENBQUMsUUFBZ0MsRUFBRSxZQUF3QyxFQUFFLGVBQXVCO0lBQ3BJLElBQUksWUFBWSxLQUFLLEtBQUssRUFBRTtRQUMxQixPQUFPLElBQUEsZ0RBQXFDLEVBQUMsUUFBNkIsRUFBRSxlQUFlLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFDO0tBQ3pHO0lBRUQsT0FBTyxZQUFZLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBZ0IsQ0FBQztBQUNoRCxDQUFDO0FBTkQsNkJBTUMifQ==