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

feat: add set files util for pasteboard binding #111

Open
wants to merge 5 commits into
base: trunk
Choose a base branch
from

Conversation

ClSlaid
Copy link

@ClSlaid ClSlaid commented Oct 22, 2023

Hello, I'd like to implement file pasting on OSX, but sadly I know nothing about Swift and Obj-C. Thankfully, I found your project, and I'd like to add a patch to satisfy my need.

This PR merely adds a set_files method to Pasteboard. And it's expected to convert paths you put in to NSURLs and write into the clipboard.

Note that this PR is currently UNTESTED.

Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
@ClSlaid
Copy link
Author

ClSlaid commented Oct 25, 2023

I'd be grateful if you could have a look? @ryanmcgrath

Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
should url encoded

Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
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.

None yet

1 participant