-
Notifications
You must be signed in to change notification settings - Fork 1.7k
chore: Bump xcap to 0.7.0, let android can cargo build without extra patch #4344
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
base: main
Are you sure you want to change the base?
Conversation
@@ -1387,8 +1387,10 @@ impl DeveloperRouter { | |||
) | |||
})?; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xcap 0.0.14 -> xcap 0.7.0
- pub fn title(&self) -> &str {
- &self.impl_window.title
- }
- /// The window process id
- pub fn pid(&self) -> u32 {
- self.impl_window.pid
+ pub fn title(&self) -> XCapResult<String> {
+ self.impl_window.title()
+ }
goose core team works on refactor mcp #4297 |
@@ -1559,7 +1561,7 @@ impl DeveloperRouter { | |||
|
|||
let window = windows | |||
.into_iter() | |||
.find(|w| w.title() == window_title) | |||
.find(|w| w.title().unwrap_or_default() == window_title) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why would we not have a window title?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xcap 0.0.14 -> xcap 0.7.0
- pub fn title(&self) -> &str {
- &self.impl_window.title
- }
...
+ pub fn title(&self) -> XCapResult<String> {
+ self.impl_window.title()
+ }
There is for the change of xcap.
Or do you think is it good?
- bump `xcap` to 0.7.0 from 0.0.14 - improve some windows/wayland function - support android build - https://github.com/nashaofu/xcap/releases/tag/v0.7.0 - update Cross.toml - Added `pipewire-debian/pipewire-upstream` PPA - libegl1-mesa-dev, libgbm-dev, libpipewire-0.3-dev, libwayland-dev - updated w.title() calls to w.title().unwrap_or_default() Signed-off-by: Shawn Wang <shawn111@gmail.com>
rebase main & fix .github/workflows/ci.yml
|
chore: Bump xcap to 0.7.0 and update Cross.toml:
xcap
to 0.7.0 from 0.0.14- improve some windows/wayland function
- support android build
- https://github.com/nashaofu/xcap/releases/tag/v0.7.0
pipewire-debian/pipewire-upstream
PPAOnce, this PR merge, termux user can carge build goose without any patches.
There is the github action build from my repo:
https://github.com/shawn111/goose/releases/tag/canary
https://github.com/shawn111/goose/actions/runs/17299321930