Skip to content

Commit 8dc0acf

Browse files
committed
Update README to use utils
1 parent 27082e5 commit 8dc0acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ The return value depends on the type of the key (REG_SZ for example will give yo
106106

107107
## Launching a Process as an Admin
108108

109-
To launch a process as an Administrator, you can call the `uac.elevate` API, which will launch a process as an Administrator causing the UAC (User Account Control) elevation prompt to appear if required. This is similar to the Windows Explorer command "Run as administrator". Pass in `FILEPATH` to the process you want to elevate. Pass in any`PARAMETERS` to run with the process. Since this is an asynchronous call, pass in a callback to handle user's selection.
109+
To launch a process as an Administrator, you can call the `utils.elevate` API, which will launch a process as an Administrator causing the UAC (User Account Control) elevation prompt to appear if required. This is similar to the Windows Explorer command "Run as administrator". Pass in `FILEPATH` to the process you want to elevate. Pass in any`PARAMETERS` to run with the process. Since this is an asynchronous call, pass in a callback to handle user's selection.
110110

111111
```js
112112
var utils = require('windows-registry').utils;

0 commit comments

Comments
 (0)