fix(installer): accept 'ANYOS' if no explicit OS matches

This commit is contained in:
AJ ONeal
2023-12-31 01:44:25 -07:00
parent 5909757a5b
commit 27959ca3ca

View File

@@ -133,6 +133,9 @@ InstallerServer.helper = async function ({
};
let hasOs = projInfo.oses.includes(hostTarget.os);
if (!hasOs) {
hasOs = projInfo.oses.includes('ANYOS');
}
if (!hasOs) {
let pkg1 = Object.assign(buildTargetInfo, errPackage);
return [pkg1, tmplParams];