mirror of
https://github.com/a-b-street/abstreet.git
synced 2025-01-01 19:04:50 +03:00
small fix with updater
This commit is contained in:
parent
912d964b75
commit
a299498887
@ -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"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user