Access Electron menu from inside a Vue Component instance, and change it

Hi, if someone can help me on this doubt I’ll appreciate. Thanks

Now this is a total guess … an outlier idea … and you might find an integrated method from other answers.
But I use PHP to dynamically change embedded PHP variables in various scripts. So can you somehow link the two to dynamically configure Electron menu attributes?

The idea is that the code containing PHP variables to be compiled runs in CLI mode which can be run as process to inject variables.

Here is one article I found as example.