small fix with updater

This commit is contained in:
Dustin Carlino 2020-05-02 19:20:21 -07:00
parent 912d964b75
commit a299498887

View File

@ -45,6 +45,8 @@ fn download() {
.arg("-o")
.arg("tmp_download.zip")
.arg(entry.dropbox_url.unwrap()));
// unzip won't overwrite
run(Command::new("rm").arg(&path));
run(Command::new("unzip").arg("tmp_download.zip").arg(path));
run(Command::new("rm").arg("tmp_download.zip"));
}