Tony Crisci
Tony Crisci
Getting the dbus session bus address from the filesystem is implemented in f7bc1e1. If that fails, we must get it from the window selection. And according to the spec if...
I would expect this to fail because you are using the system bus address for the session bus. I get this error with the example service: Error:Connection ":1.277" is not...
https://github.com/dbusjs/mpris-service/issues/23 Put this in your webpack config: ```js resolve: { alias: { jsbi: path.resolve(__dirname, 'node_modules', 'jsbi', 'dist', 'jsbi-cjs.js') } }, ```
This fix has worked for 3-4 people. Make sure the path for the alias is actually pointing to an existing file in the node modules.
If you're using vue, I think the webpack config is a little different. https://github.com/dbusjs/mpris-service/issues/45 ```js module.exports = { pluginOptions: { electronBuilder: { chainWebpackMainProcess: config => { config.resolve.alias.set('jsbi', path.join(__dirname, 'node_modules/jsbi/dist/jsbi-cjs.js')); }...
I think I might try to make JSBI optional so it never gets imported if you don't use it.
f1e2b4a should make the alias not required if you don't use jsbi compatibility mode. Try that out and see if it fixes it.
Yeah I would accept this feature.
I think we can lookup the home directory from `/etc/passwd` from the user indicated by `process.getuid()` when the `HOME` variable is not present. https://github.com/sindresorhus/passwd-user
Ah ok I'm testing the `handshake.js` code and it's all very broken, but I do have a partial fix using that library.