mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +02:00
arch: handling packages with a desktop entry as applications
This commit is contained in:
@@ -64,7 +64,7 @@ class ArchPackage(SoftwarePackage):
|
||||
return resource.get_path('img/arch.png', ROOT_DIR) # TODO change icon when from mirrors
|
||||
|
||||
def is_application(self):
|
||||
return True
|
||||
return self.can_be_run()
|
||||
|
||||
def supports_disk_cache(self):
|
||||
return True
|
||||
|
||||
@@ -66,4 +66,4 @@ class FlatpakApplication(SoftwarePackage):
|
||||
return self.installed and not self.runtime
|
||||
|
||||
def get_publisher(self):
|
||||
return 'Flathub'
|
||||
return self.origin
|
||||
|
||||
Reference in New Issue
Block a user