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"]
|
["nsis", "msi", "app"]
|
||||||
.iter()
|
.iter()
|
||||||
.map(|bundle| format!("{target}-{bundle}"))
|
.map(|bundle| format!("{target}-{bundle}"))
|
||||||
.chain(std::iter::once(target))
|
.chain(std::iter::once(target.clone()))
|
||||||
.collect::<Vec<_>>()
|
.collect::<Vec<_>>()
|
||||||
};
|
};
|
||||||
targets
|
targets
|
||||||
|
|||||||
Reference in New Issue
Block a user