Skip to content

Commit

Permalink
chore(run): mark run mode as deprecated (#1027)
Browse files Browse the repository at this point in the history
### Description of Changes

- Mark run mode as deprecated

Notes: nw-builder needs to focus on building and packaging apps. Instead
of maintaining a run mode, port this behaviour to nwjs/npm-installer and
improve interop between the tools.
  • Loading branch information
ayushmanchhabra authored Feb 12, 2024
1 parent 70030df commit 1115728
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ nwbuild({

### Run Mode

> Deprecation warning: From v4.6.0 onward, run mode is deprecated. This logic will be ported over to `nwjs/npm-installer` repo and removed in the next major release.
```javascript
nwbuild({
mode: "run",
Expand Down
2 changes: 2 additions & 0 deletions src/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import util from "./util.js";
/**
* Run NW.js application.
*
* @deprecated since v4.6.0. This logic will be ported over to `nwjs/npm-installer` repo and removed in the next major release (v5.0).
*
* @async
* @function
*
Expand Down

0 comments on commit 1115728

Please sign in to comment.