pub fn prepare_context(
descriptor: ProductDescriptor,
version: &str,
) -> Result<ProductContext, String>Expand description
Loads only product command aliases before CLI or desktop startup. Service
credentials are not read here. It first names the data directory after
the binary, as launch does, so nothing is read under another app’s
name; it fails, reading and writing nothing, when a data path was read
under another name before.