Skip to content

How get permissions on MacOS #16

@FeofanGreek

Description

@FeofanGreek

Hello friends! When i run example on MacOs 26.3 (25D125) and try do some thing? i get this error: thread '' (187479) panicked at src/api/bixat_key_mouse.rs:16:1:
called Result::unwrap() on an Err value: NoPermission
stack backtrace:
0: __rustc::rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: bixat_key_mouse::api::bixat_key_mouse::press_mouse_button_base
4: bixat_key_mouse::frb_generated::wire__crate__api__bixat_key_mouse__press_mouse_button_base_impl::{{closure}}::{{closure}}
5: bixat_key_mouse::frb_generated::wire__crate__api__bixat_key_mouse__press_mouse_button_base_impl::{{closure}}
6: <flutter_rust_bridge::handler::implementation::executor::SimpleExecutor<EL,TP,AR> as flutter_rust_bridge::handler::executor::Executor>::execute_sync
7: <flutter_rust_bridge::handler::implementation::handler::SimpleHandler<E,EL> as flutter_rust_bridge::handler::handler::Handler>::wrap_sync::{{closure}}::{{closure}}
8: <core::panic::unwind_safe::AssertUnwindSafe as core::ops::function::FnOnce<()>>::call_once
9: std::panicking::catch_unwind::do_call
10: ___rust_try
11: std::panic::catch_unwind
12: flutter_rust_bridge::misc::panic_backtrace::PanicBacktrace::catch_unwind
13: <flutter_rust_bridge::handler::implementation::handler::SimpleHandler<E,EL> as flutter_rust_bridge::handler::handler::Handler>::wrap_sync::{{closure}}
14: <core::panic::unwind_safe::AssertUnwindSafe as core::ops::function::FnOnce<()>>::call_once
15: std::panicking::catch_unwind::do_call
16: ___rust_try
17: std::panic::catch_unwind
18: <flutter_rust_bridge::handler::implementation::handler::SimpleHandler<E,EL> as flutter_rust_bridge::handler::handler::Handler>::wrap_sync
19: bixat_key_mouse::frb_generated::wire__crate__api__bixat_key_mouse__press_mouse_button_base_impl
20: bixat_key_mouse::frb_generated::pde_ffi_dispatcher_sync_impl
21: _frb_pde_ffi_dispatcher_sync
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

May be you know how fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions