[appimage] improvement: do not request confirmation for manual update of imported files

This commit is contained in:
Vinicius Moreira
2021-12-17 13:37:25 -03:00
parent 31b72d2879
commit e246008cb2

View File

@@ -83,7 +83,8 @@ class AppImageManager(SoftwareManager):
i18n_status_key='appimage.custom_action.manual_update.status',
manager_method='update_file',
requires_root=False,
icon_path=resource.get_path('img/upgrade.svg', ROOT_DIR))]
icon_path=resource.get_path('img/upgrade.svg', ROOT_DIR),
requires_confirmation=False)]
def install_file(self, root_password: str, watcher: ProcessWatcher) -> bool:
file_chooser = FileChooserComponent(label=self.i18n['file'].capitalize(),