Open KrabCode opened 11 months ago
but this changes the actual path, it removes the data/ from it...
drawbacks of moving to sketchPath() include:
JsonSaveStore.dataFolderRootPath
from "gui" to "data/gui"LazyGuiSettings.setCustomGuiDataFolder()
~~possible behavior change: consider whether to stop storing things in "data" altogether and instead put the "gui" directory inside the sketch folder next to the .pde files? it seems recommended by the sketchPath() javadocs~~
but this breaks loading from existing saves in their old locations... so probably a bad idea
let's not break any functionality - let there be no changes to save folder location
there are no actual issues with dataPath(), but the docs warn against it and it might get deprecated, so let's move to sketchPath()
based on a warning found here: https://stackoverflow.com/questions/36530876/how-to-get-the-path-of-the-sketch-in-processing-datapath-not-working