Revert "adding-io-hook"

This reverts commit 3666ce59d4.
This commit is contained in:
talksik
2022-04-24 09:06:27 -05:00
parent 3666ce59d4
commit 3c58c7830d
4 changed files with 7 additions and 100 deletions
+1 -23
View File
@@ -4,7 +4,6 @@
"version": "1.0.0",
"description": "Walkie Talkie for Remote Teams",
"main": ".webpack/main",
"private": true,
"scripts": {
"dev": "electron-forge start",
"package": "electron-forge package",
@@ -106,17 +105,16 @@
"typescript": "~4.5.4"
},
"dependencies": {
"@nirvana/core": "*",
"@emotion/react": "^11.8.2",
"@emotion/styled": "^11.8.1",
"@getstation/electron-google-oauth2": "^2.1.0",
"@mui/icons-material": "^5.5.1",
"@mui/material": "^5.5.1",
"@nirvana/core": "*",
"antd": "^4.19.2",
"axios": "^0.26.1",
"electron-squirrel-startup": "^1.0.0",
"electron-store": "^8.0.1",
"iohook": "^0.9.3",
"moment": "^2.29.1",
"mongodb": "^4.4.1",
"react": "^17.0.2",
@@ -127,25 +125,5 @@
"react-query": "^3.34.16",
"recoil": "^0.6.1",
"socket.io-client": "^4.4.1"
},
"iohook": {
"targets": [
"node-72",
"electron-85"
],
"platforms": [
"win32",
"darwin",
"linux"
],
"arches": [
"x64",
"ia32"
]
},
"workspaces": {
"nohoist": [
"iohook"
]
}
}
+2 -6
View File
@@ -70,12 +70,8 @@ app
});
})
.then(() => {
globalShortcut.register("`+R", () => {
console.log("Recording audio!");
});
globalShortcut.register("`+P", () => {
console.log("Recording audio!");
globalShortcut.register("`", () => {
console.log("Electron loves global shortcuts!");
});
});
-3
View File
@@ -11,7 +11,4 @@ module.exports = {
resolve: {
extensions: [".js", ".ts", ".jsx", ".tsx", ".css", ".json"],
},
externals: {
iohook: "iohook",
},
};