App-to-extension communication
You may check out resources/js/main.js
from the app created by neutrapy create
. Basically:
await Neutralino.extensions.dispatch(extensionId, event, data);
See: https://neutralino.js.org/docs/how-to/extensions-overview#sending-a-message-from-app-to-an-extension