Neutralinojs v4.11.0 released!
API: File watchers
In some scenarios, Neutralinojs app developers need to implement file watchers in their apps. Earlier, Neutralinojs API didn't offer a native file watcher API and developers had to use less-performant workarounds, such as making recursive
filesystem.readDirectory calls. The new file watchers API lets you create native, cross-platform, event-based file watchers for filesystem paths with the following functions:
filesystem.createWatcher(path): Creates a new file watcher for a given path and returns the watcher identifier.
filesystem.removeWatcher(watcherId): Removes a files watcher based on a file watcher identifier.
Whenever a filesystem change occurs, file watcher instances dispatch the
watchFile event with the following data:
id: Watcher identifier
action: Filesystem change:
dir: Directory path
filename: Modified file
- Fix the initial window flashing and hidden window state issues on Windows.
- Fix data corruption in binary file appending.
- Apply dark/light themes based on system preferences on Windows.
Update the config file option
4.11.0 and enter
neu update to fetch this version.
Get started: https://neutralino.js.org/docs
This release was auto-generated by ReleaseZri 🚀