Everything was simple. After saving the configuration, I pressed the refresh library button. And everything worked. Just in case, I installed .NET Runtime 8 and ASP.NET Core Runtime 8.
I added keys and specified the path D:\Switch\Games\. I also checked the recursive option. But the games in the directory are still not displayed. The games are in folders, each with its own name.