mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 13:14:17 +02:00
[improvement][ui] big refactoring regarding the components states
This commit is contained in:
@@ -623,7 +623,6 @@ class WebApplicationManager(SoftwareManager):
|
||||
continue_install, install_options = self._ask_install_options(pkg, watcher)
|
||||
|
||||
if not continue_install:
|
||||
watcher.print("Installation aborted by the user")
|
||||
return TransactionResult(success=False, installed=[], removed=[])
|
||||
|
||||
watcher.change_substatus(self.i18n['web.env.checking'])
|
||||
|
||||
@@ -21,11 +21,12 @@ class WebApplication(SoftwarePackage):
|
||||
self.source_url = source_url if source_url else url
|
||||
self.installation_dir = installation_dir
|
||||
self.desktop_entry = desktop_entry
|
||||
self.set_custom_icon(custom_icon)
|
||||
self.preset_options = preset_options
|
||||
self.save_icon = save_icon # if the icon_url should be used instead of the one retrieved by nativefier
|
||||
self.options_set = options_set
|
||||
self.package_name = package_name
|
||||
self.custom_icon = custom_icon
|
||||
self.set_custom_icon(custom_icon)
|
||||
|
||||
def get_source_url(self):
|
||||
if self.source_url:
|
||||
|
||||
Reference in New Issue
Block a user