Skip to main content

approve_command

Function approve_command 

Source
pub fn approve_command() -> Vec<String>
Expand description

The command that answers the window’s agent for itself inside a running container, run before the window opens, from a container that has the home volume and nothing else.

A window’s own container cannot be written to from the inside: it is created and started in one go with the application as its only program, so by the time it is there the application has read its database. This runs on the same volume and from the same image beforehand instead, so what it merges is what the application finds. It merges rather than writes, so the settings the person made in the window are kept, and a home that was signed in to by hand gets the same answers as one that was given the profile’s login.