mirror of
https://github.com/rozniak/xfce-winxp-tc.git
synced 2026-04-30 11:11:31 +00:00
26 lines
505 B
Python
26 lines
505 B
Python
import curses
|
|
|
|
from wsetup_screen import *
|
|
from wsetup_step import *
|
|
|
|
def main(stdscr):
|
|
steps = [
|
|
None,
|
|
wsetup_step_init,
|
|
wsetup_step_beta_notice,
|
|
wsetup_step_welcome,
|
|
wsetup_step_eula,
|
|
wsetup_step_confirm_system,
|
|
wsetup_step_install_base
|
|
wsetup_step_prepare_chain_to_gui
|
|
]
|
|
|
|
current_step = 1
|
|
|
|
wsetup_screen_init(stdscr)
|
|
|
|
while current_step != 0:
|
|
current_step = steps[current_step](stdscr)
|
|
|
|
curses.wrapper(main)
|