mirror of
https://github.com/rubickCenter/rubick
synced 2026-01-02 01:49:27 +08:00
bugfix: os-mouse 在build后无法获取鼠标事件。改为 iohook
This commit is contained in:
18
package.json
18
package.json
@@ -62,16 +62,18 @@
|
||||
"download": "^8.0.0",
|
||||
"download-git-repo": "^3.0.2",
|
||||
"electron-store": "^8.0.0",
|
||||
"iohook": "^0.9.3",
|
||||
"is-chinese": "^1.4.2",
|
||||
"keycode": "^2.2.0",
|
||||
"marked": "^2.0.7",
|
||||
"md5": "^2.3.0",
|
||||
"mime-types": "^2.1.31",
|
||||
"node-fetch": "^2.6.1",
|
||||
"osx-mouse": "git+https://github.com/Toinane/osx-mouse.git",
|
||||
"osx-mouse": "^2.0.0",
|
||||
"puppeteer-core": "^10.0.0",
|
||||
"puppeteer-in-electron": "^3.0.3",
|
||||
"query-string": "^7.0.0",
|
||||
"request": "^2.88.2",
|
||||
"request-promise": "^4.2.6",
|
||||
"robotjs": "git+ssh://git@github.com/Toinane/robotjs.git",
|
||||
"semver": "^7.3.5",
|
||||
@@ -112,6 +114,7 @@
|
||||
"listr": "^0.14.3",
|
||||
"mini-css-extract-plugin": "0.4.0",
|
||||
"multispinner": "^0.2.1",
|
||||
"node-abi": "^2.30.0",
|
||||
"node-loader": "^0.6.0",
|
||||
"react": "^17.0.2",
|
||||
"style-loader": "^0.21.0",
|
||||
@@ -125,5 +128,18 @@
|
||||
"webpack-dev-server": "^3.1.4",
|
||||
"webpack-hot-middleware": "^2.22.2",
|
||||
"webpack-merge": "^4.1.3"
|
||||
},
|
||||
"iohook": {
|
||||
"targets": [
|
||||
"node-83",
|
||||
"electron-85"
|
||||
],
|
||||
"platforms": [
|
||||
"darwin"
|
||||
],
|
||||
"arches": [
|
||||
"x64",
|
||||
"ia32"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user