[Solved] Using the file system in javascript

How do I use file system in the javascript events? (If that’s even possible)

1 Like

It’s possible, here is the javascript document for filesystem API used in the event:

No need for that internal API, if you are going to use the filesystem, your game has to be an electron app anyways, so you can just use the node filesystem API directly. It is easier to use, object-oriented, and more powerful. That kind of internal APIs are only meant as functional wrappers of object-oriented APIs for events code generation.