Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 58b864f

Browse files
committed
docs: update electron to latest 2.0 release
1 parent 3820be0 commit 58b864f

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ If your [electron-rebuild step is failing](https://github.com/ipfs/js-ipfs/issue
608608
609609
```bash
610610
# Electron's version.
611-
export npm_config_target=1.7.6
611+
export npm_config_target=2.0.0
612612
# The architecture of Electron, can be ia32 or x64.
613613
export npm_config_arch=x64
614614
export npm_config_target_arch=x64

examples/run-in-electron/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
> This example is heavily inspired by [electron-quick-start](https://github.com/electron/electron-quick-start).
44
5-
**DISCLAIMER:** This example is still a work in progress, it currently doesn't work due to the usage of native dependencies that Electron is not supporting.
6-
75
To try it by yourself, do:
86

97
```

examples/run-in-electron/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Electron's version.
2-
export npm_config_target=1.6.11
2+
export npm_config_target=2.0.0
33
# The architecture of Electron, can be ia32 or x64.
44
export npm_config_arch=x64
55
export npm_config_target_arch=x64

examples/run-in-electron/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"author": "David Dias <daviddias@ipfs.io>",
1616
"license": "MIT",
1717
"devDependencies": {
18-
"electron": "~1.6.11",
19-
"electron-rebuild": "^1.5.11",
18+
"electron": "^2.0.0",
19+
"electron-rebuild": "^1.7.2",
2020
"ipfs": "ipfs/js-ipfs"
2121
}
2222
}

0 commit comments

Comments
 (0)