New
Neutralinojs v6.2.0 released!
What's new
API: window
- Add
Neutralino.window.print()to display the native print dialog on all platforms. This was especially added since the macOS webview doesn't implement thewindow.print()function. - Introduce the
window.beginDrag()function to trigger native window dragging. The new draggable region API implementation uses this function internally.
API: filesystem
- Add
filesystem.getJoinedPath(...paths: string[])to create a single path by joining multiple path strings. - Add
filesystem.getNormalizedPath()andfilesystem.getUnnormalizedPath()functions, which make Windows paths look like Unix paths by replacing\\with/and revert normalized paths into Windows-specific paths respectively on the Windows platform. On non-Windows platforms, these functions return the same input strings.
Configuration
- Implement the
window.webviewArgsconfiguration option to pass additional browser arguments to the WebView2 instance on Windows:
"modes": {
"window": {
// ....
"webviewArgs": "--user-agent=\"Custom user agent\""
}
}
Improvements/bugfixes
- Display GUI error messages for webview initialization failures. i.e., if the WebView2 runtime is not installed on Windows and if the WebKitGTK library is not installed on GNU/Linux platforms.
Update the config file option cli.binaryVersion with 6.2.0 and enter neu update to fetch this version.
Get started: https://neutralino.js.org/docs
This release was auto-generated by ReleaseZri :rocket: