Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow socket path to be customized #31

Open
michaelcadilhac opened this issue Jul 22, 2024 · 0 comments
Open

Allow socket path to be customized #31

michaelcadilhac opened this issue Jul 22, 2024 · 0 comments

Comments

@michaelcadilhac
Copy link

When using multiview -s, a socket is used for communication. Its path is described as:

var socketPath = path.join(__dirname, '/' + channel + '.sock');

If I understand correctly, __dirname is the path of the library, wherever it is installed. When multiview is installed with a package manager (e.g., on the AUR) it is installed in privileged directory, and the file failed to be created (with no error!).

Hence feature request: Allow for that dirname to be customized, and for an error message to be spat out if the file can't be created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant