Quote:
Originally Posted by KevinH
Or perhaps we create an unmanifested file additional Report?
|
That would probably be easy enough.
I've never really delved very deeply into the OpenWith code, so I have no idea what would be involved, but it doesn't seem to me that it would be impossible to employ an approach that:
1) copied the file in question to a new temp folder and opened that file in the external editor
2) after the editing is complete, copy ONLY the original filename back to the epub's scratch directory.
Checks could of course be made to determine whether the file was changed or not, and if the original file name is no longer present in the staging temp location (like with an unwise rename), a warning could be popped that nothing is being changed.
Just spit-balling, really. I just don't want to introduce anything into the Open With code that would require any kind of parsing/modification of the EPUB's manifest. File out ... same file name back in.