You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/how-to/extensions-overview.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,9 @@ First, you need to define extensions you use in `neutralinojs.config.json` with
32
32
-`commandDarwin` String (optional): Extension startup command for macOS.
33
33
-`commandWindows` String (optional): Extension startup command for Windows.
34
34
35
+
Extension commands support path constants like `${NL_PATH}`, `${NL_OSDOWNLOADSPATH}`, etc. Path constants that begin with the `NL_OS` prefix use
36
+
the `${NL_OS<name>PATH}` format where `<name>` is any accepted parameter (uppercased) to the [`os.getPath(name)`](../api/os.md#osgetpathname) function.
37
+
35
38
## Enable the extensions feature
36
39
37
40
The extensions API is disabled by default. Enable extensions by adding the following setting to your app config.
Copy file name to clipboardExpand all lines: docs/release-notes/framework.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,39 @@ toc_max_heading_level: 2
5
5
6
6
## Unreleased
7
7
8
+
## v6.5.0
9
+
10
+
### Core: events
11
+
- New window events: `windowMinimize`, `windowRestore`, `windowMaximize`, `windowFullScreenEnter`, and `windowFullScreenExit`
12
+
13
+
### API: window
14
+
- Add `window.setBorderless(bool)` to toggle borderless mode while the Neutralinojs app is running.
15
+
16
+
### Configuration
17
+
- Add `modes.chrome.browserBinary` option to set custom browser binary path under the chrome mode. If this field is specified, the framework will try to launch Chrome from there. If it fails, the framework will initiate the Chrome binary search as usual:
- Add the `modes.window.useLogicalPixels: true|false` option to activate DPI-aware sizing based on the operating system's display scale factor.
32
+
- Add extra path constants support (early versions only supported `${NL_PATH}`) for the extensions command: `${NL_OSDATAPATH}`, `${NL_OSCACHEPATH}`, ... All supported path constants use this format: `${NL_OS<name>PATH}` where `<name>` is any accepted parameter (uppercased) to the `os.getPath(name)` function:
0 commit comments