Fixed Windows path inclusion errors by using path.normalize() instead of path.format(path.parse())#552
Fixed Windows path inclusion errors by using path.normalize() instead of path.format(path.parse())#552linky00 wants to merge 2 commits into
path.normalize() instead of path.format(path.parse())#552Conversation
…xed slashes on Windows
|
Hmm, newly created files still show up in 'Unused files' until a restart. Let me see if I can squish that too. (Though they don't show up twice, which I'm betting is the cause of the saving issues.) |
|
Okay I've solved this by having InkFile store stuff like I've also made sure to not modify new paths inputed into Once again please test this on a POSIX system first! |
Fixes #551
path.format(path.parse())seems to only fix Windows paths up to one layer deep.path.normalize()solves this issue on Windows.This is untested on other platforms! Please check this doesn't break file creation on a POSIX system before merging.