@@ -331,8 +331,12 @@ def uninstall_app(self, app_fullname):
331331self .install_button .add_state (lv .STATE .DISABLED )
332332self .install_label .set_text ("Please wait..." )
333333self .progress_bar .remove_flag (lv .obj .FLAG .HIDDEN )
334+ self .progress_bar .set_value (21 ,True )
335+ time .sleep (1 )# seems silly but otherwise it goes so quickly that the user can't tell something happened and gets confused
334336self .progress_bar .set_value (42 ,True )
337+ time .sleep (1 )# seems silly but otherwise it goes so quickly that the user can't tell something happened and gets confused
335338PackageManager .uninstall_app (app_fullname )
339+ time .sleep (1 )# seems silly but otherwise it goes so quickly that the user can't tell something happened and gets confused
336340self .progress_bar .set_value (100 ,False )
337341self .progress_bar .add_flag (lv .obj .FLAG .HIDDEN )
338342self .progress_bar .set_value (0 ,False )
@@ -347,6 +351,7 @@ def download_and_install(self, zip_url, dest_folder, app_fullname):
347351self .install_label .set_text ("Please wait..." )
348352self .progress_bar .remove_flag (lv .obj .FLAG .HIDDEN )
349353self .progress_bar .set_value (20 ,True )
354+ time .sleep (1 )# seems silly but otherwise it goes so quickly that the user can't tell something happened and gets confused
350355try :
351356# Step 1: Download the .mpk file
352357print (f"Downloading .mpk file from:{ zip_url } " )
@@ -382,6 +387,7 @@ def download_and_install(self, zip_url, dest_folder, app_fullname):
382387# Step 2: install it:
383388PackageManager .install_mpk (temp_zip_path ,dest_folder )
384389# Success:
390+ time .sleep (1 )# seems silly but otherwise it goes so quickly that the user can't tell something happened and gets confused
385391self .progress_bar .set_value (100 ,False )
386392self .progress_bar .add_flag (lv .obj .FLAG .HIDDEN )
387393self .progress_bar .set_value (0 ,False )