anyrun-org / anyrun

A wayland native, highly customizable runner.
GNU General Public License v3.0
560 stars 44 forks source link

fix: Desktop Entries without proper path wouldn't run #120

Closed BennyDioxide closed 3 months ago

BennyDioxide commented 7 months ago

The desktop entries edited by applications like kmenuedit will leave blank in the path, and that causes the current_dir of the command to become "", making os error 2 (no such file or directory).

Now it would try to run in env::current_dir if the path was not set or not proper