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

mac m1自动输入时程序崩溃 #27

Open
t880216t opened this issue Jun 7, 2023 · 1 comment
Open

mac m1自动输入时程序崩溃 #27

t880216t opened this issue Jun 7, 2023 · 1 comment

Comments

@t880216t
Copy link

t880216t commented Jun 7, 2023

出错代码 src-tauri/src/select.rs

#[cfg(target_os = "macos")]
pub fn paste() {
    use enigo::*;
    let mut enigo = Enigo::new();
    enigo.key_down(Key::Meta);
    enigo.key_click(Key::Layout('v'));
    enigo.key_up(Key::Meta);

翻了enigo库的issues,这个问题似乎还没有解决。

@FISHers6
Copy link
Owner

FISHers6 commented Jun 7, 2023

感谢提issue,找到了issue看起来官方还没有完全解决,后面看看有没有其他的库可以替代 enigo-rs/enigo#153 tauri-apps/tauri#6421

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

2 participants