diff --git a/README.md b/README.md index aac1113b5..d25c4ff6b 100644 --- a/README.md +++ b/README.md @@ -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", diff --git a/src/run.js b/src/run.js index b26a053fc..12f69daf9 100644 --- a/src/run.js +++ b/src/run.js @@ -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 *