diff --git a/docs/api/updater.md b/docs/api/updater.md index 1b63b2fb..76a8906e 100644 --- a/docs/api/updater.md +++ b/docs/api/updater.md @@ -9,6 +9,11 @@ third-party update services, operating system level services, or other binaries/ Learn more about extensions with [this guide](../how-to/auto-updater). +:::note +For this API to work, you should add `"filesystem.writeBinaryFile"` to the [`nativeAllowList` field](../configuration/neutralino.config.json#nativeallowlist-string) of your `neutralino.config.json` file. +::: + + ## updater.checkForUpdates(url) Checks latest updates from the given URL. The URL should return a valid Neutralinojs update manifest with `Content-Type: application/json` header. Throws `NE_UP_CUPDMER` for invalid manifests and `NE_UP_CUPDERR`