Fix updater platform selection compilation on Windows and macOS
This commit is contained in:
@@ -368,7 +368,7 @@ fn require_platform(metadata: &Value, kind: InstallationKind) -> Result<String,
|
||||
["nsis", "msi", "app"]
|
||||
.iter()
|
||||
.map(|bundle| format!("{target}-{bundle}"))
|
||||
.chain(std::iter::once(target))
|
||||
.chain(std::iter::once(target.clone()))
|
||||
.collect::<Vec<_>>()
|
||||
};
|
||||
targets
|
||||
|
||||
Reference in New Issue
Block a user