Closed lefred closed 4 years ago
Hey, I've just replied to your email :) Let's continue here though, if you don't mind.
Unfortunately, native modules (like dbus) don't seem to have great support in Mailspring. I'm not sure yet if it is possible at all to launch those but even if you did it (https://www.electronjs.org/docs/tutorial/using-native-node-modules), you'd have to rebuild it every time Mailspring upgrades Electron, which happens every and.
If you still wanna try it though, could you also share your code (e. g. create a repo on GitHub) and run Mailspring in development mode which produces better tracebacks? (Developer → Run with Debug Flags, note that the config dir would be ~/.config/Mailspring-dev
instead of ~/.config/Mailspring
)
Self promotion of my not-yet-working plugin : https://github.com/lefred/mailspring-libre-gtg ;-)
I followed your instruction and it works ;) Thanks
In case somebody knows better than me where to get some info, I've added a question: https://github.com/lefred/mailspring-libre-gtg/issues/2
This is not really a bug or an issue, but looking for help as I'm new in JS world.
I'm trying to write a plugin that needs to use a module (dbus).
So in the code I've:
var DBus = require("dbus");
and of course, I added it in
pakage.json
too:But when I load it, I've in Mailscript the following issue I cannot get rid of:
If somebody can help me, that would be cool !
Cheers,