mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 11:04:15 +02:00
fix: AUR optinal dep not found among installed apps
This commit is contained in:
@@ -100,7 +100,7 @@ class ArchPackage(SoftwarePackage):
|
||||
|
||||
def can_be_run(self) -> bool:
|
||||
# only returns if there is a desktop entry set for the application to avoid running command-line applications
|
||||
return bool(self.desktop_entry)
|
||||
return bool(self.command) and bool(self.desktop_entry)
|
||||
|
||||
def get_publisher(self):
|
||||
return self.maintainer
|
||||
|
||||
Reference in New Issue
Block a user