In which file are custom actions specified?

In which file / location would I find the “custom actions” for menu items? As a consequence of some customization I was working on, I broke the main menu and need to SSH in order to revert the “bad” setting.

For now, my OSMC homescreen is completely blank and unusable :sob: