onagre-launcher / onagre

A general purpose application launcher for X and wayland inspired by rofi/wofi and alfred
MIT License
511 stars 27 forks source link

Onagre fails to build #39

Closed VarLad closed 2 years ago

VarLad commented 2 years ago

Describe the bug cargo install --git https://github.com/oknozor/onagre gives the error

   Compiling onagre v0.1.0 (/home/username/.cargo/git/checkouts/onagre-5ec73ca0dbe9bcb0/6168926)
error[E0599]: no variant or associated item named `Window` found for enum `IconSource` in the current scope
  --> src/freedesktop/mod.rs:29:33
   |
29 |                     IconSource::Window(_) => todo!("What is this ?"),
   |                                 ^^^^^^ variant or associated item not found in `IconSource`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `onagre` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `onagre v0.1.0 (https://github.com/oknozor/onagre#61689266)`, intermediate artifacts can be found at `/tmp/cargo-installrromDa`

on Fedora 35 Workstation

oknozor commented 2 years ago

@VarLad thanks for spotting this, the pop-launcher version was outdated, it should be fixed now.