fix(ui): correct mount point selection pre-fill and simplify partition creation dialog
This commit is contained in:
@@ -214,7 +214,6 @@ class InstallerWindow(Adw.ApplicationWindow):
|
||||
mode = self.install_mode_page.get_mode()
|
||||
modules = self.modules_page.get_modules()
|
||||
user_info = self.user_page.get_user_info()
|
||||
mount_root = self.welcome_page.get_mount_root()
|
||||
|
||||
partitions_config = {}
|
||||
if mode == "manual":
|
||||
@@ -230,7 +229,6 @@ class InstallerWindow(Adw.ApplicationWindow):
|
||||
partitions=partitions_config,
|
||||
user_info=user_info,
|
||||
modules=modules,
|
||||
mount_root=mount_root,
|
||||
)
|
||||
# Proceed to summary page (which is next_index after user)
|
||||
|
||||
@@ -241,7 +239,6 @@ class InstallerWindow(Adw.ApplicationWindow):
|
||||
mode = self.install_mode_page.get_mode()
|
||||
modules = self.modules_page.get_modules()
|
||||
user_info = self.user_page.get_user_info()
|
||||
mount_root = self.welcome_page.get_mount_root()
|
||||
|
||||
if self.mock_mode:
|
||||
print("!!! MOCK MODE ENABLED - NO CHANGES WILL BE MADE !!!")
|
||||
@@ -249,7 +246,6 @@ class InstallerWindow(Adw.ApplicationWindow):
|
||||
print(f"Mode: {mode}")
|
||||
print(f"Modules: {modules}")
|
||||
print(f"User: {user_info}")
|
||||
print(f"Mount Root: {mount_root}")
|
||||
print("Simulation complete.")
|
||||
# Show success in UI even in mock
|
||||
self.show_finish_page("Mock Installation Complete!")
|
||||
@@ -269,6 +265,7 @@ class InstallerWindow(Adw.ApplicationWindow):
|
||||
|
||||
# Step 2: Mounting
|
||||
print("Step 2: Mounting...")
|
||||
mount_root = "/mnt"
|
||||
mount_partitions(parts, mount_root)
|
||||
|
||||
# Step 3: OS Installation
|
||||
|
||||
Reference in New Issue
Block a user