mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 17:54:15 +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
|
return resource.get_path('img/arch.png', ROOT_DIR) # TODO change icon when from mirrors
|
||||||
|
|
||||||
def is_application(self):
|
def is_application(self):
|
||||||
return True
|
return self.can_be_run()
|
||||||
|
|
||||||
def supports_disk_cache(self):
|
def supports_disk_cache(self):
|
||||||
return True
|
return True
|
||||||
|
|||||||
@@ -66,4 +66,4 @@ class FlatpakApplication(SoftwarePackage):
|
|||||||
return self.installed and not self.runtime
|
return self.installed and not self.runtime
|
||||||
|
|
||||||
def get_publisher(self):
|
def get_publisher(self):
|
||||||
return 'Flathub'
|
return self.origin
|
||||||
|
|||||||
Reference in New Issue
Block a user