gui: search boot9strap folder too for input files (fixes #83)

This commit is contained in:
ihaveahax
2026-01-08 17:50:02 -06:00
parent 17aebb3256
commit ffcf536d58

View File

@@ -336,7 +336,9 @@ class CustomInstallGUI(ttk.Frame):
self.file_picker_textboxes['sd'] = sd_selected
def auto_input_filename(self, f, filename):
sd_msed_path = find_first_file([join(f, 'gm9', 'out', filename), join(f, filename)])
sd_msed_path = find_first_file(
[join(f, "gm9", "out", filename), join(f, "boot9strap", filename), join(f, filename)]
)
if sd_msed_path:
self.log('Found ' + filename + ' on SD card at ' + sd_msed_path)
if filename.endswith('bin'):