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

Add basic support for Mac and Linux #52

Merged
merged 11 commits into from
Dec 31, 2017
Merged

Add basic support for Mac and Linux #52

merged 11 commits into from
Dec 31, 2017

Conversation

mlewand
Copy link
Owner

@mlewand mlewand commented Dec 30, 2017

This PR brings very basic support for Mac and Linux.

Unfortunately due to Electron clipboard API it's impossible to do a serious clipboard handling.

In addition to that it forced me to do tens of hacks/tweaks.

For now it works only with types supported by default by Electron so types like:

  • text/plain
  • text/html
  • text/rtf
  • image/png

I did a quick search for a Node package that would solve this issue, but all the clipboard libraries are super simple, limited to putting text/HTML - so essentially same thing that is exposed by Electron API.

In terms of Linux support I tested it on Ubuntu 17.

Closes #20, closes #21.

@mlewand mlewand changed the title Add basic support for Mac Add basic support for Mac and Linux Dec 31, 2017
@mlewand mlewand merged commit a055645 into minor Dec 31, 2017
@mlewand mlewand deleted the t/21 branch December 31, 2017 02:19
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

Successfully merging this pull request may close these issues.

1 participant