This commit is contained in:
Hinton 2020-12-29 21:01:47 +01:00
parent 2c93385fce
commit ef785eab81
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
import { NativeMessagingProxy } from './proxy/native-messaging-proxy';
// We need to import the other dependencies using `reqiuire` since import will
// We need to import the other dependencies using `require` since `import` will
// generate `Error: Cannot find module 'electron'`. The cause of this error is
// due to native messaging setting the ELECTRON_RUN_AS_NODE env flag on windows
// which removes the electron module. This flag is needed for stdin/out to work