based on the documentation, in order to set filePicker’s initialPath, I need to call openFilePicker the following way:
openFilePicker(filter, initialPath, callback)
whenever I try to call the method like this, an exception is thrown, saying that:
"Uncaught Error: |overwolf.utils.openFilePicker| Wrong parameter type in position 2. Should be a function. value string"
Can you reproduce it (exact steps to reproduce):
- go into CEF Developer tools
- type the following:
overwolf.utils.openFilePicker("", "C:\\MyDirectory", console.log)
- Bug Reproduction: Filepicker window is opened but the error is thrown.
Impact for my app: medium (it will pollute the logs and it may cause False Positive errors on our end)
Do you currently have a workaround? No