Skip to content

Commit

Permalink
fix: use classes.jar to determine the extension's base dir
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyashsaitwal committed Jul 16, 2021
1 parent 1084453 commit 2b355b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/archive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ fn base_dir_from_aix(archive: ZipArchive<File>) -> PathBuf {
let ext_props_path = archive
.file_names()
.into_iter()
.find(|x| x.ends_with(".properties"))
.find(|x| x.ends_with("classes.jar"))
.unwrap();

Path::new(ext_props_path).parent().unwrap().to_owned()
Expand Down

0 comments on commit 2b355b7

Please sign in to comment.