Skip to content

[updater] install mode is not passive by default if windows field is not declared #1015

@Legend-Master

Description

@Legend-Master

Config::windows is default to None instead of Some(WindowsConfig::default())

pub windows: Option<WindowsConfig>,

let installer_args = [
self.config
.windows
.as_ref()
.map(|w| {
w.install_mode
.nsis_args()
.iter()
.map(|a| OsStr::new(a))
.collect::<Vec<_>>()
})
.unwrap_or_default(),
self.installer_args
.iter()
.map(|a| a.as_os_str())
.collect::<Vec<_>>(),
]
.concat();

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions