node-native-win-utils 1.3.2-alpha.1 → 1.3.2-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -145,10 +145,10 @@ exports.OpenCV = OpenCV;
|
|
|
145
145
|
function keyPress(keyCode, repeat) {
|
|
146
146
|
return new Promise((resolve, reject) => {
|
|
147
147
|
if (!repeat) {
|
|
148
|
-
return resolve(
|
|
148
|
+
return resolve(pressKey(keyCode));
|
|
149
149
|
}
|
|
150
150
|
for (let i = 0; i < repeat; i++) {
|
|
151
|
-
|
|
151
|
+
pressKey(keyCode);
|
|
152
152
|
}
|
|
153
153
|
return resolve(true);
|
|
154
154
|
});
|
package/package.json
CHANGED
|
Binary file
|