Add missing logic for .xinitrc updates in "Try Live" mode

- Renamed `install_mode` to `what_to_do` and `filesystem_type` to `install_type` across modules for clarity and consistency
- Implemented `.xinitrc` configuration updates in "Try Live" mode
- Added logic to save ZFS configuration during installation process
- Improved button handling and code readability in the interface controller
This commit is contained in:
ericbsd
2025-12-09 19:43:45 -04:00
parent f8afc8002a
commit 1507a5a456
4 changed files with 22 additions and 38 deletions
+4 -5
View File
@@ -1,7 +1,6 @@
"""
Contains the data class and some commonly use variables
"""
import os
import gettext
be_name: str = "default"
@@ -46,8 +45,8 @@ class InstallationData:
ufs_config_data: list = []
# Installation type and mode
install_mode: str = "" # "install" or "try"
filesystem_type: str = "" # "zfs", "ufs", or "custom"
what_to_do: str = "" # "install" or "try"
install_type: str = "" # "zfs", "ufs", or "custom"
# Language and localization
language: str = ""
@@ -79,8 +78,8 @@ class InstallationData:
cls.boot = ""
cls.zfs_config_data = []
cls.ufs_config_data = []
cls.install_mode = ""
cls.filesystem_type = ""
cls.what_to_do = ""
cls.install_type = ""
cls.language = ""
cls.language_code = ""
cls.keyboard_layout = ""