What is nwjs which got installed as part of pgadmin4?
Solution 1:
pgadmin4 consists of two parts: a python server and a desktop browser window that's called the Desktop Runtime Standalone Application. This desktop browser is built on NW.js (formerly node-webkit). Apparently, as part of the MacOS integration, NW.js drops a widget in the Notifications panel of the System preferences. You can customize its behavior there.
More info here:
https://www.pgadmin.org/docs/pgadmin4/6.1/desktop_deployment.html
https://nwjs.io/