New C++ extension SDK for Windows WebView2 export; New Steam, Epic Games & File plugins; Bug fixes & more.
I love the new additions but:
I'm trying to port a nwjs file system to the new webView2 one, I immediately noticed one issue:
There is no way to list all files at a path, this is important as in the project the users can put files into a folder (for sharing custom levels) and I populate a menu with all the levels.
Is there a way to do this?
The File WebView2 plugin just has basic read/write file features, it doesn't have anything else like listing files at the moment. (You could possibly work around that by creating a file which lists the other files in the directory.)
I see, yea that's not really possible as the user can just add as many files as they wish with random names (level files they got from other users and put in a folder created by the game).
I hope listing files could come as an additional feature!
Still seems to work well for basic save systems!
Oh, me too, I have folder where players can drop in folders containing custom stuff, so would need to list all directories and files as I currently do with nwjs. Hopefully this does get added, will move to this right away if so!
Maybe it won't be too much trouble to add file and folder listings to the File for WebView2 plugin. I'll see if I can make time for that over the next week or two.
fedca & Jase00 - I've updated the File for WebView2 plugin with a folder listing feature: construct.net/en/make-games/addons/1104/file-webview2/versions
Hopefully that does what you need!
Thanks Ashley for taking the time to do this in your busy schedule, I'm excited to set this up!
Thank you Ashley, that would be greatly appreciated!