File tree 1 file changed +6
-3
lines changed
archinstall/lib/interactions
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,8 @@ def _preview_device_selection(item: MenuItem) -> str | None:
49
49
multi = True ,
50
50
preview_style = PreviewStyle .BOTTOM ,
51
51
preview_size = 'auto' ,
52
- preview_frame = FrameProperties .max ('Partitions' )
52
+ preview_frame = FrameProperties .max ('Partitions' ),
53
+ allow_skip = True
53
54
).run ()
54
55
55
56
match result .type_ :
@@ -143,8 +144,10 @@ def select_disk_config(
143
144
output = 'You will use whatever drive-setup is mounted at the specified directory\n '
144
145
output += "WARNING: Archinstall won't check the suitability of this setup\n "
145
146
146
- path = prompt_dir (str (_ ('Root mount directory' )), output , allow_skip = False )
147
- assert path is not None
147
+ path = prompt_dir (str (_ ('Root mount directory' )), output , allow_skip = True )
148
+
149
+ if path is None :
150
+ return None
148
151
149
152
mods = disk .device_handler .detect_pre_mounted_mods (path )
150
153
You can’t perform that action at this time.
0 commit comments