Here are the step-by-step instructions on how to configure each game to be optimized to work properly with LHM.
To make LHM work correctly with CS2 you need to run the game with “Run Game” button.
If you want to use Scout AI or Killfeed, you first need to install Workshop Tools for CS2. You can find them by right clicking Counter-Strike 2 in your Steam library, going to Settings, and then to DLC tab.
To make LHM work correctly with CS:GO you need to make sure in settings that:
These two steps alone should be sufficient for CS:GO to work with LHM.
In case any or both (configs and gamestate integration) display error about not finding the game's path, you need to install the files manually. To do it, find "Downloads" row, and download GSI Config and HUD Configs. Extract .cfg files from the zip, and put every file in steamapps\common\Counter-Strike Global Offensive\csgo\cfg.