Only process files (not dirs) extracted from rar
This commit is contained in:
parent
c7df9dec13
commit
621b98cd8c
@ -255,9 +255,10 @@ pub async fn main() -> Result<()> {
|
||||
if let Ok(list) = list {
|
||||
for entry in list {
|
||||
if let Ok(entry) = entry {
|
||||
if entry.filename.ends_with(".esp")
|
||||
|| entry.filename.ends_with(".esm")
|
||||
|| entry.filename.ends_with(".esl")
|
||||
if entry.is_file() && (
|
||||
entry.filename.ends_with(".esp")
|
||||
|| entry.filename.ends_with(".esm")
|
||||
|| entry.filename.ends_with(".esl"))
|
||||
{
|
||||
plugin_file_paths.push(entry.filename);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user