Engines have specific Operating Systems they support

This commit is contained in:
andrew committed 2023-06-26 03:29:10 -04:00
1 parent abb924a02b
commit ef1f23503b
20 files changed
+44 -18

No files matched your search

+4
View File
@@ -628,6 +628,10 @@ def client_worker_info(request):
if not data['private'] and engine not in machine.info['compilers'].keys():
continue
# Must match the Operating Systems supported by the engine
if machine.info['os_name'] not in data['build']['systems']:
continue
# All requirements are met, and this Machine can play with the given engine
machine.info['supported'].append(engine)