Disable finalization options when imaging

This commit is contained in:
2Shirt 2024-03-25 23:01:23 -07:00
parent cc3e36c60d
commit a256e6e764
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -218,6 +218,9 @@ def finalize_recovery(state: State, dry_run: bool = True) -> None:
if 'GPT' in name and disable_gpt_option:
details['Disabled'] = True
details['Selected'] = False
if state.mode == 'Image':
details['Disabled'] = True
details['Selected'] = False
menu.add_option(name, details)
# Show menu