Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't try to copy to clipboard on linux
It neither works, nor does it throw
- Loading branch information
9ec86c4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fwiw it worked fine on my Fedora 25.
9ec86c4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oskarrough What does
process.platform
return on your device inside node?9ec86c4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See this comment; if you have
xclip
installed everything works fine. I have a PR out to fix the underlying bug innode-copy-paste
(xavi-/node-copy-paste#53) but until that's merged it will fail silently for some Linux users (and take downserve
with it).9ec86c4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leo returns
linux
.@disquisition ah, that's it. I have
xclip
installed.Hope the feature will come back one day!
9ec86c4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking forward to the PR getting merged!