Closed relikd closed 3 years ago
The code blindly calls [NSString stringByDeletingLastPathComponent]
so I guess it will crash if the path is made of 0
or 1
components.
For what it's worth, I've added a simple check of [NSString pathComponents].count
.
https://github.com/miyako/console-rsvg-convert/releases/tag/2.1.1
Hi, and thanks for your project and the time you put in it :)
Found an interesting bug. The output option does only work if it is a proper path. Passing the filename only will result in a crash (see below). As a workaround it suffices to prepend
./
before the filename. Still, I think this could be fixed 😃macOS 10.15.7, console-rsvg-convert v2.1