File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import os
22import sys
33import time
4- from typing import Any
54
65from archinstall .lib .applications .application_handler import ApplicationHandler
7- from archinstall .lib .args import ArchConfigHandler
6+ from archinstall .lib .args import ArchConfig , ArchConfigHandler
87from archinstall .lib .authentication .authentication_handler import AuthenticationHandler
98from archinstall .lib .configuration import ConfigurationOutput
109from archinstall .lib .disk .filesystem import FilesystemHandler
@@ -46,7 +45,7 @@ def show_menu(
4645 if not arch_config_handler .args .advanced :
4746 global_menu .set_enabled ('parallel_downloads' , False )
4847
49- result : Any | None = tui .run (global_menu )
48+ result : ArchConfig | None = tui .run (global_menu )
5049 if result is None :
5150 sys .exit (0 )
5251
Original file line number Diff line number Diff line change 11import sys
22from pathlib import Path
3- from typing import Any
43
5- from archinstall .lib .args import ArchConfigHandler
4+ from archinstall .lib .args import ArchConfig , ArchConfigHandler
65from archinstall .lib .configuration import ConfigurationOutput
76from archinstall .lib .disk .filesystem import FilesystemHandler
87from archinstall .lib .disk .utils import disk_layouts
@@ -23,7 +22,7 @@ def show_menu(arch_config_handler: ArchConfigHandler) -> None:
2322 global_menu .set_enabled ('swap' , True )
2423 global_menu .set_enabled ('__config__' , True )
2524
26- result : Any | None = tui .run (global_menu )
25+ result : ArchConfig | None = tui .run (global_menu )
2726 if result is None :
2827 sys .exit (0 )
2928
You can’t perform that action at this time.
0 commit comments