[wgem] fix icon path definition and caching | param --reset cleaning the web environment as well

This commit is contained in:
Vinícius Moreira
2019-12-16 12:26:12 -03:00
parent f6434f9e30
commit e407d97d45
9 changed files with 67 additions and 25 deletions

View File

@@ -51,8 +51,9 @@ class WebApplication(SoftwarePackage):
def get_disk_icon_path(self) -> str:
if self.custom_icon:
return self.custom_icon
else:
super(WebApplication, self).get_disk_icon_path()
if self.installation_dir:
return '{}/resources/app/icon.png'.format(self.installation_dir)
def is_application(self):
return True