pub fn with_raw(state: &InstallerState, view: impl View) -> Self {
let setup = &state.setup_info;
- let logo = match setup.product_cfg.product {
+ let logo = match setup.config.product {
ProxmoxProduct::PVE => LOGO_PVE,
ProxmoxProduct::PBS => LOGO_PBS,
ProxmoxProduct::PMG => LOGO_PMG,
let title = format!(
"{} ({}-{}) Installer",
- setup.product_cfg.fullname, setup.iso_info.release, setup.iso_info.isorelease
+ setup.config.fullname, setup.iso_info.release, setup.iso_info.isorelease
);
let inner = LinearLayout::vertical()
#[derive(Clone, Deserialize)]
pub struct SetupInfo {
#[serde(rename = "product-cfg")]
- pub product_cfg: ProductConfig,
+ pub config: ProductConfig,
#[serde(rename = "iso-info")]
pub iso_info: IsoInfo,
}