Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

windows: simulate keyboard operation Ctrl+c #4

Merged
merged 2 commits into from
Feb 14, 2023
Merged

windows: simulate keyboard operation Ctrl+c #4

merged 2 commits into from
Feb 14, 2023

Conversation

Chanyon
Copy link
Contributor

@Chanyon Chanyon commented Feb 14, 2023

No description provided.

@fzdwx
Copy link
Owner

fzdwx commented Feb 14, 2023

这个就是会在 唤起的窗口的时候 自动完成一次 ctrl+c 的操作吗, cool

@fzdwx
Copy link
Owner

fzdwx commented Feb 14, 2023

把 README 也同步改下

@fzdwx fzdwx self-requested a review February 14, 2023 10:40
@Chanyon
Copy link
Contributor Author

Chanyon commented Feb 14, 2023

已更新README

@fzdwx fzdwx merged commit d652629 into fzdwx:main Feb 14, 2023
@fzdwx
Copy link
Owner

fzdwx commented Feb 14, 2023

hello, 请问我将 x11-clipboard 也修改成跟你类似的依赖形式后,应该怎么打包?

[target."cfg(linux)".dependencies]
x11-clipboard = "0.7.0"

@Chanyon
Copy link
Contributor Author

Chanyon commented Feb 15, 2023

hello, 请问我将 x11-clipboard 也修改成跟你类似的依赖形式后,应该怎么打包?

[target."cfg(linux)".dependencies]
x11-clipboard = "0.7.0"

这个方式引入crate,编译时只在目标平台引入

@fzdwx
Copy link
Owner

fzdwx commented Feb 15, 2023

我改成那样后,直接不能用了。。

@Chanyon
Copy link
Contributor Author

Chanyon commented Feb 15, 2023

我改成那样后,直接不能用了。。

换成单引号
[target.'cfg(linux)'.dependencies]

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

Successfully merging this pull request may close these issues.

None yet

2 participants