@@ -144,7 +144,7 @@ def run_install_addons(self, e):
144144 """
145145 # disable the call button while the command is running
146146 self .install_button .disabled = True
147- self .install_addons_switch . disabled = True
147+ self .error_text . value = ""
148148 # reset the progress indicators
149149 self .progress_indicator .clear ()
150150 # reset terminal output
@@ -156,11 +156,13 @@ def run_install_addons(self, e):
156156 for line in adb_twrp_install_addons (
157157 addons = self .state .addon_paths ,
158158 bin_path = self .state .bin_path ,
159+ config_path = self .state .config_path ,
159160 ):
160161 # write the line to advanced output terminal
161162 self .terminal_box .write_line (line )
162- # in case the install command is run, we want to update progress ring for now
163- self .progress_indicator .display_progress_ring ()
163+ # in case the install command is run, we want to update the progress bar
164+ self .progress_indicator .display_progress_bar (line )
165+ self .progress_indicator .update ()
164166 success = line # the last element of the iterable is a boolean encoding success/failure
165167
166168 # update the view accordingly
@@ -175,6 +177,4 @@ def run_install_addons(self, e):
175177 # enable the confirm button and disable the call button
176178 self .confirm_button .disabled = False
177179 self .install_button .disabled = True
178- # reset the progress indicator
179- self .progress_indicator .clear ()
180180 self .view .update ()
0 commit comments