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(); |
Config::windowsis default toNoneinstead ofSome(WindowsConfig::default())plugins-workspace/plugins/updater/src/config.rs
Line 84 in 99bea25
plugins-workspace/plugins/updater/src/updater.rs
Lines 557 to 574 in 99bea25