setup: don't wait for so long (#36323)

nice
This commit is contained in:
Maxime Desroches
2025-10-12 00:37:36 -07:00
committed by GitHub
parent 13d0aefd7c
commit 129445cd1d
+2 -2
View File
@@ -343,7 +343,7 @@ class Setup(Widget):
shutil.copyfile(INSTALLER_SOURCE_PATH, INSTALLER_DESTINATION_PATH)
# give time for installer UI to take over
time.sleep(1)
time.sleep(0.1)
gui_app.request_close()
else:
self.state = SetupState.NETWORK_SETUP
@@ -406,7 +406,7 @@ class Setup(Widget):
f.write(self.download_url)
# give time for installer UI to take over
time.sleep(5)
time.sleep(0.1)
gui_app.request_close()
except Exception: