Repository navigation
fix: keep same-named photos' sidecars and other XMP intact, follow the engine's port, escape menu text, start Windows shims directly - #22
Merged
Conversation
The engine notes its port in its lock file; the bridge reads it there and falls back to 8390 when there is none.
A JPEG, TIFF or DNG beside a raw file of the same name no longer reads, writes, renames, moves or deletes that raw file's .xmp sidecar; it keeps its metadata in the file. Import and move never replace a sidecar that is already at the destination. Saving metadata into a file or a sidecar keeps the XMP fields formlit does not write, such as motion photo, panorama and gain map data.
….exe A .cmd or .bat agent program is started as the node script or program its npm shim names. A file that is not such a shim still goes through cmd.exe /c, which now refuses control characters, percent signs, double quotes, special characters in unquoted words and a program path that needs quotes. The shared finder becomes 1.0.2.
Exporting an original or a DNG beside a raw of the same name puts the metadata in the file instead of replacing the raw file's sidecar, and copying photos into a new catalog takes a sidecar only with the photo that owns it.
… spaces A word given to cmd.exe /c is refused when it holds any of & | < > ^ ( ) ! % " or a control character, quoted or not, since a batch file reads its arguments again. The message asks for long text through standard input or a file. npm shims are still started directly as their node script or program. The recorded hash for the shared finder 1.0.2 follows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tests
For the owner
How to ship