pull/662/head
FabianLars 2 years ago
parent 48bb8f9bf8
commit ddd2e1bbab
No known key found for this signature in database
GPG Key ID: 838F329885A9C43D

@ -259,7 +259,10 @@ impl Updater {
let url: Url = url let url: Url = url
.to_string() .to_string()
// url::Url automatically url-encodes the string // url::Url automatically url-encodes the string
.replace("%7B%7Bcurrent_version%7D%7D", &self.current_version.to_string()) .replace(
"%7B%7Bcurrent_version%7D%7D",
&self.current_version.to_string(),
)
.replace("%7B%7Btarget%7D%7D", &self.target) .replace("%7B%7Btarget%7D%7D", &self.target)
.replace("%7B%7Barch%7D%7D", self.arch) .replace("%7B%7Barch%7D%7D", self.arch)
.parse()?; .parse()?;

Loading…
Cancel
Save