Use this API to obtain system folder paths.
For more I/O functionalities, please use our simple I/O plugin.
You can call the object properties to get the requested path:
To get the system path:
console.log(overwolf.io.paths.system) //prints "C:\WINDOWS\system32"
To get the full path of the current extension (OW app), you can call
overwolf.io.paths.localAppData and concatenate your extension id and your app version to it:
overwolf.io.paths.localAppData + "/overwolf/extensions/[your extension id]/[version]"
Where version can be retrieved from the app manifest.
note that this will not work if the extension is loaded as unpacked while developing.