First - what are you actually looking for? You posted a question under Photoshop UDT category (changed to Ps UXP now), asking about file storage (which has nothing to do with UDT) and added a link to XD docs
Anyway, for Photoshop, after your two lines, check
Did I post in the wrong section? If so then sorry, but I can’t quite figure out the mistake.
I’m trying to create a Photoshop UXP plugin (using vanilla JS so far), and I think I did post it under UXP Plugin API section, please do guide me the right way if I’m wrong, thanks!
I just noticed the link says Adobe XD, sorry again, but seems it’s also works for PS.
And thanks to you, I got my answer, pluginFolder.nativePath is the one I was looking for so thanks again for guiding me to the right direction!