diff options
Diffstat (limited to 'src/bin/textures.rs')
-rw-r--r-- | src/bin/textures.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bin/textures.rs b/src/bin/textures.rs index 6cd9577..209e23c 100644 --- a/src/bin/textures.rs +++ b/src/bin/textures.rs @@ -22,9 +22,7 @@ fn main() -> anyhow::Result<()> { create_dir_all("/tmp/a").unwrap(); let cabfile = fs - .nodes() - .iter() - .find(|n| !n.name.ends_with(".resource") && !n.name.ends_with(".resS")) + .find_main_file() .ok_or(anyhow!("no CAB file found"))? .to_owned(); |