makeSingleInstance() and flatpak



i’ve been deploying my electron app as a flatpak for a while, but i notice that when running as a flatpak app.makeSingleInstance() does not correctly identify that the application is already running.

this is presumably to do with flatpak’s sandboxing, and i probably need to add some permissions somewhere, but i can’t find any docs describing how the app.makeSingleInstance actually works.

any tips on where i could find how makeSingleInstance() works?

with thanks