See my thread here for a working example of using fs.readdir()
.
Worth noting that you also need to grant fullAccess
permission for local in your manifest.
I’m trying out the new getEntryWithUrl() method and I’m not having much luck. I’ve included fs.readdir() to test the path is working. readdir returns the folder contents fine, but getEntryWithUrl throws its toys out of the pram with the same path. I also included the example from the documentation for accessing the plugin data folder and it returns the same error.
Anyone got this to work yet that can provide some pointers? Or alternatively, is getEntryWithUrl pre-release?
PS: 24.2.0
API: 2
…