add lightfactory discovery

This commit is contained in:
2023-10-21 14:45:13 -05:00
parent cedf6e34aa
commit 7208154a68
+2 -2
View File
@@ -5,10 +5,10 @@ exports.config = {
mayChangePorts: true,
searchOptions: {
type: 'TCPport',
searchBuffer: Buffer.from('authenticate 1\n', 'ascii'),
searchBuffer: Buffer.from('\n', 'ascii'),
testPort: 3100,
validateResponse(msg, info) {
return msg.toString().substring(0, 5) === 'Ready';
return msg.toString().includes('LightFactory');
},
},
};