pub fn authorize(
up: &PackageUpgrade,
launcher_pid: u32,
within: Duration,
) -> boolExpand description
Ask for permission to install up (the desktop’s password prompt, through
polkit) and have its helper check the file. true once the helper is waiting
for AgentMux to quit: the waiter then carries on without the launcher.
false (with the reason left for srv, unless the user simply said no) when
nothing will be installed, so AgentMux keeps running.