pub fn start_integrated_install_all(
app: &mut AppState,
items: &[PackageItem],
dry_run: bool,
)Expand description
What: Start integrated install process for multiple packages (bypassing preflight).
Inputs:
app: Mutable application stateitems: Packages 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.