From 2fb14e9e5c5e48c3231f6d4aa324917d0dd3ccf7 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 16 Feb 2019 01:09:29 +0100 Subject: add support for .zevtc files --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 22d1ab4..a77a952 100644 --- a/src/main.rs +++ b/src/main.rs @@ -238,7 +238,7 @@ fn is_log_file(entry: &DirEntry) -> bool { entry .file_name() .to_str() - .map(|n| n.ends_with(".evtc") || n.ends_with(".evtc.zip")) + .map(|n| n.ends_with(".evtc") || n.ends_with(".evtc.zip") || n.ends_with(".zevtc")) .unwrap_or(false) } @@ -270,7 +270,7 @@ fn search_log(entry: &DirEntry, opt: &Opt) -> Result, RuntimeE let raw = if entry .file_name() .to_str() - .map(|n| n.ends_with(".zip")) + .map(|n| n.ends_with(".zip") || n.ends_with(".zevtc")) .unwrap_or(false) { evtclib::raw::parse_zip(&mut input) -- cgit v1.2.3