Prelim: Placeholder step for preparing wsetupx

This commit is contained in:
Rory Fewell
2025-07-03 21:42:56 +01:00
parent 668d27ed5d
commit 5ddceb4750
2 changed files with 34 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ def main(stdscr):
wsetup_step_eula,
wsetup_step_confirm_system,
wsetup_step_install_base
wsetup_step_prepare_chain_to_gui
]
current_step = 1

View File

@@ -337,6 +337,39 @@ def wsetup_step_install_base(stdscr):
curses.color_pair(COLOR_PAIR_NORMAL_TEXT)
)
stdscr.refresh()
return 7
def wsetup_step_prepare_chain_to_gui(stdscr):
wsetup_screen_clear(stdscr)
# Text for this page
#
page_text = "Please wait while Setup initializes your " +
WSETUP_BRAND_PRODUCT_NAME +
" configuration."
wsetup_screen_write_direct(
stdscr,
8,
wsetup_screen_get_scaled_x(stdscr, 40) -
wsetup_screen_get_scaled_x(stdscr, int(len(page_text) / 2)),
page_text
curses.color_pair(COLOR_PAIR_NORMAL_TEXT)
)
wsetup_screen_write_instructions(
stdscr,
[
"Updating startup environment..."
]
)
#
# FIXME: Call into wsetupx
#
# Input
#
while True: