mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 02:35:37 +01:00
app.getIsFileOpen treated any path with a backslash as a Windows path, turning each backslash into a folder separator and ignoring letter case. On macOS and Linux a backslash is a character of a file name, so getIsFileOpen answered true for the path /work/a\b.ai while /work/a/b.ai was open. Paths now get the Windows rules only on Windows or when they start with a drive letter. DocumentPreset.typename and toString() answered for a preset kept from an earlier run with #targetengine, while its settings throw a TypeError. Both now check the preset the way the settings do. Documents.addDocumentNoUI(startupPreset) was missing. It now makes the document addDocument(startupPreset) makes.