Electron远程控制插件

github地址:https://github.com/jitsi/robotjs

npm install @jitsi/robotjs

npm i -D electron-rebuild

安装完成后,执行

./node_modules/.bin/electron-rebuild

已测试完的依赖json, node版本:16.13.2

"dependencies": {
    "@electron/remote": "^2.0.10",
    "@jitsi/robotjs": "^0.6.12",
    "@vue/compat": "^3.1.0",
    "axios": "^1.4.0",
    "babel-eslint": "^10.1.0",
    "core-js": "^3.8.3",
    "electron-store": "^8.1.0",
    "element-plus": "^2.3.6",
    "node-machine-id": "^1.1.12",
    "vue": "^3.3.4",
    "vue-router": "^4.0.0",
    "vuex": "^4.0.0",
    "vuex-electron": "^1.0.3"
  },
  "devDependencies": {
    "@babel/core": "^7.12.16",
    "@vue/cli-plugin-babel": "~5.0.0-beta.3",
    "@vue/cli-service": "~5.0.0-beta.3",
    "@vue/compiler-sfc": "^3.1.0",
    "@vue/eslint-config-standard": "^6.1.0",
    "electron": "19.0.4",
    "electron-rebuild": "^3.2.9",
    "electron-devtools-installer": "^3.1.0",
    "less": "^3.0.4",
    "less-loader": "^5.0.0",
    "lint-staged": "^8.1.5",
    "vite": "^4.3.9",
    "vue-cli-plugin-electron-builder": "^2.1.1"
  },

主要代码:

© 版权声明
THE END
喜欢就支持一下吧
点赞0赞赏 分享
评论 抢沙发

请登录后发表评论

    请登录后查看评论内容