pub fn start_integrated_install(
app: &mut AppState,
item: &PackageItem,
dry_run: bool,
)Expand description
What: Start integrated install process for a single package (bypassing preflight).
Inputs:
app: Mutable application stateitem: Package to installdry_run: Whether to run in dry-run mode
Output:
- If passwordless sudo is available: Proceeds directly to
PreflightExecmodal. - If passwordless sudo is not available: Transitions to
PasswordPromptmodal.
Details:
- Checks for passwordless sudo first to skip password prompt if available.
- Both official packages (sudo pacman) and AUR packages (paru/yay need sudo for final step) require sudo, but password may not be needed if passwordless sudo is configured.
- Uses
ExecutorRequest::Installfor execution.