so that unity installation appears as an "installed from hub", hub seems to generate it inside releaseFileIO.js  then you could install modules with hub:  info from: https://github.com/Unity-Technologies/UnityCsReference/blob/3c2fbfebd60cd91d91c82a8b32ae26281687544d/Editor/Mono/BuildPlayerWindow.cs#L583 modules.json contains download and install paths: 