Closed BakaFT closed 8 months ago
@BakaFT, you should rename readDir
to ls
There is an issue with wchar_t, it's actually not utf16,
so just read files to utf8 bytes array and let CefString converts it.
-wstr content = readFile(path);
+str content = readFile_utf8(path);
return V8Value::string(file_content);
Read here: https://utf8everywhere.org/
@nomi-san Pushed some fixes onit and build success on my fork
Devs now can access filesystem of their own plugin folder. Docs is coming soon!