Commit Graph

2 Commits

Author SHA1 Message Date
Daniel Büchele
766996b8dd keytar update node v70
Summary: Keytar binaries weren't updated when upgrading the electron version. This diff updates the binaries to match electron's node version.

Reviewed By: passy

Differential Revision: D15821734

fbshipit-source-id: 04688f1e465d2f7bdefecfdda8e2f3868de18780
2019-06-14 03:41:54 -07:00
Daniel Büchele
294d5b110f rename keytar Windows native module
Summary:
`process.platform` is used to require the native-module for keytar. On Windows this returns `win32` (No matter if 64bit or 32bit system). The native module was named `keytar-win.node`. This diff renames it to `keytar-win32.node`.

This is the code that requires the module from `user.js`:

```
keytar = global.electronRequire(
    path.join(
      isProduction() ? remote.app.getAppPath() : process.cwd(),
      'native-modules',
      `keytar-${process.platform}.node`,
    ),
  );
```

Reviewed By: priteshrnandgaonkar

Differential Revision: D14771646

fbshipit-source-id: cd48d25cb5921e07e472eb46636fa2599c8ff721
2019-04-04 04:51:11 -07:00