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

This commit is contained in:
AJ ONeal
2024-01-02 15:29:19 -07:00
parent 22ba86dbed
commit c6bb79648a
+3
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];