Closed madsmtm closed 1 week ago
The "covector" CI step is failing, it seems to be lacking certain permissions?
yeah that workflow can be ignored, it doesn't like forks (we are working on it)
the migration on wry
I saw, it's nice! When you're ready, I'd be happy to help out, or review a PR, or something!
LGTM! We need a change file and need you to sign these commits.
We need a change file
Ah yeah, have done that now (not sure it's correct though).
(Would've been nice to note in the CONTRIBUTING.md
btw, that'd make it pop up automatically when I submitted the PR).
This ensures that memory management rules are upheld, as well as greatly improving type-safety.
API-wise, this adds a new error case
NotMainThread
, which is triggered when a TrayIcon is created on a thread that is not the main thread.There is probably a bug lurking in here somewhere, I'm not too familiar with the exact details of the
NSStatusItem
API. Notably, there's also still a lot ofif Some(...)
checks that I'm not sure are completely necessary, though this PR shouldn't make the situation any worse on that front.Related: The migration to
objc2
inwry
: https://github.com/tauri-apps/wry/issues/1239