[SOLVED] Error installing with wine

Following any installation script that uses wine I receive an error:
<class ‘AttributeError’> module ‘lutris.runners.wine’ has no attribute ‘set_regedit’
Here is an example when trying to install battle.net: https://paste.ubuntu.com/p/nrwPBZNjC4/
Running Manjaro

I see an error in the Json which is written:

{
	'Client':
	{
		'HardwareAcceleration':'false',
		'GameLaunchWindowBehavior':'2',
		'GameSearch':
		{
            'BackgroundSearch':'true'
        },
		'Sound':
		{
            'Enabled':'false'
        },
		'Streaming':
		{
            'StreamingEnabled':'false'
        }
	}
}
}
}

Two closing accolades too many.

I also see an error stating: module ‘lutris.runners.wine’ has no attribute ‘set_regedit’.

You probably used this installer:

In the solved issues someone mentions this:

The installer is not supported anymore. Please use game specific installers instead.

This is probably because games need very specific Wine configurations. Does it help when you look for the game you want to install and use that script instead?

I had tried using a specific game installer but I was getting the same error message with those.

I figured out the solution. It turns out I installed lutris using the AUR lutris-git. I was unaware that the Manjaro package manager had lutris as well. So, I uninstalled the AUR package and re-installed via pacman and now I am able to install games without errors.