Skip to content

Commit caea206

Browse files
committed
attempt: fix mac robotjs prod bug
1 parent 9e39a30 commit caea206

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

electron/main/icpHandlers/robotJs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ipcMain } from "electron/main";
2-
import robotJs from "@meadowsjared/robotjs";
2+
import robotJs from "@hurdlegroup/robotjs";
33

44
export const mouseClickHandler = (_ipcMain: typeof ipcMain) => {
55
_ipcMain.handle(

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mouse-automator",
33
"private": true,
4-
"version": "1.0.11",
4+
"version": "1.0.12",
55
"type": "module",
66
"author": "Terry Chan",
77
"description": "Mouse Automator is a lightweight, user-friendly desktop application designed to automate mouse clicks with ease. Whether you're gaming, testing software, or handling repetitive tasks, Mouse Automator has you covered!",
@@ -20,7 +20,7 @@
2020
"@fortawesome/fontawesome-svg-core": "^6.5.2",
2121
"@fortawesome/free-solid-svg-icons": "^6.5.2",
2222
"@fortawesome/react-fontawesome": "^0.2.2",
23-
"@meadowsjared/robotjs": "^0.6.26",
23+
"@hurdlegroup/robotjs": "^0.12.2",
2424
"@tanstack/react-query": "^5.45.1",
2525
"@trufflesuite/ps-list": "^0.0.3",
2626
"electron-store": "^9.0.0",

yarn.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,14 @@
493493
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3"
494494
integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==
495495

496+
"@hurdlegroup/robotjs@^0.12.2":
497+
version "0.12.2"
498+
resolved "https://registry.yarnpkg.com/@hurdlegroup/robotjs/-/robotjs-0.12.2.tgz#685a0512185e3aa2559c9ad856830057769e8978"
499+
integrity sha512-hv2qcNfKuMlctHLcGHWltHaxKPB4PMjqnsPNuNaHwrBYq6bwGodKyqCPTJFE918IJZoJuSTmMD1E+axQAe0ItQ==
500+
dependencies:
501+
node-addon-api "*"
502+
node-gyp-build "^4.8.1"
503+
496504
"@isaacs/cliui@^8.0.2":
497505
version "8.0.2"
498506
resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550"
@@ -585,14 +593,6 @@
585593
lodash "^4.17.15"
586594
tmp-promise "^3.0.2"
587595

588-
"@meadowsjared/robotjs@^0.6.26":
589-
version "0.6.26"
590-
resolved "https://registry.yarnpkg.com/@meadowsjared/robotjs/-/robotjs-0.6.26.tgz#05b2334d837319e4379f0b1ad9ec3fbdf08bd9b5"
591-
integrity sha512-RFUlnz1AHEzekzqjGnE7BAHGIDDUFKvkX7IDfFXc1aGWPJJLkBaGmjmmOkj4qjW5/mBn5q8CRieCQyp9nc76iw==
592-
dependencies:
593-
node-addon-api "^8.1.0"
594-
node-gyp-build "^4.8.1"
595-
596596
"@nodelib/fs.scandir@2.1.5":
597597
version "2.1.5"
598598
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
@@ -4004,16 +4004,16 @@ neat-csv@^2.1.0:
40044004
get-stream "^2.1.0"
40054005
into-stream "^2.0.0"
40064006

4007+
node-addon-api@*:
4008+
version "8.1.0"
4009+
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-8.1.0.tgz#55a573685dd4bd053f189cffa4e6332d2b1f1645"
4010+
integrity sha512-yBY+qqWSv3dWKGODD6OGE6GnTX7Q2r+4+DfpqxHSHh8x0B4EKP9+wVGLS6U/AM1vxSNNmUEuIV5EGhYwPpfOwQ==
4011+
40074012
node-addon-api@^1.6.3:
40084013
version "1.7.2"
40094014
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-1.7.2.tgz#3df30b95720b53c24e59948b49532b662444f54d"
40104015
integrity sha512-ibPK3iA+vaY1eEjESkQkM0BbCqFOaZMiXRTtdB0u7b4djtY6JnsjvPdUHVMg6xQt3B8fpTTWHI9A+ADjM9frzg==
40114016

4012-
node-addon-api@^8.1.0:
4013-
version "8.1.0"
4014-
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-8.1.0.tgz#55a573685dd4bd053f189cffa4e6332d2b1f1645"
4015-
integrity sha512-yBY+qqWSv3dWKGODD6OGE6GnTX7Q2r+4+DfpqxHSHh8x0B4EKP9+wVGLS6U/AM1vxSNNmUEuIV5EGhYwPpfOwQ==
4016-
40174017
node-gyp-build@^4.8.1:
40184018
version "4.8.1"
40194019
resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.1.tgz#976d3ad905e71b76086f4f0b0d3637fe79b6cda5"

0 commit comments

Comments
 (0)