Exif Helper
This commit is contained in:
@ -136,6 +136,7 @@ public class Worker : BackgroundService
|
||||
break;
|
||||
}
|
||||
}
|
||||
string extension = Path.GetExtension(_Args[0]);
|
||||
if (consoleKey is not ConsoleKey.End && !_ConsoleKeys.Contains(consoleKey))
|
||||
consoleKey = ConsoleKey.End;
|
||||
if (singleCharIndex is not null)
|
||||
@ -233,6 +234,8 @@ public class Worker : BackgroundService
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (_AppSettings.ValidImageFormatExtensions.Contains(extension) && File.Exists(_Args[0]))
|
||||
Helpers.Exif.HelperExif.DragAndDrop(_Logger, _Args[0]);
|
||||
else
|
||||
throw new Exception(_Args[0]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user