Skip to content

Commit 86360b4

Browse files
committed
Updated deps, moved path concatenation into initial pathname pass for easier use when messing around with code
1 parent 541bacb commit 86360b4

File tree

3 files changed

+71
-74
lines changed

3 files changed

+71
-74
lines changed

Cargo.lock

Lines changed: 67 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
tar = "0.4.41"
10-
flate2 = "1.0.31"
11-
clap = { version = "4.5.16", features = ["derive"] }
9+
tar = "0.4.43"
10+
flate2 = "1.0.35"
11+
clap = { version = "4.5.29", features = ["derive"] }

src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fn main() {
4343
return;
4444
}
4545

46-
paths.insert(id, parsed_path);
46+
paths.insert(id, extract_base.join(parsed_path));
4747
});
4848

4949
for_archive(f, "asset.meta", |mut entry, id| {
@@ -59,7 +59,6 @@ fn main() {
5959

6060
for_archive(f, "asset", |mut entry, id| {
6161
let path = paths.remove(&id).expect("Can't unpack asset with no path");
62-
let path = extract_base.join(path);
6362

6463
let mut dir = path.clone();
6564
dir.pop();

0 commit comments

Comments
 (0)