Skip to content

Commit 42902e4

Browse files
committed
fix: ipfs version change lock
1 parent 25e7c8a commit 42902e4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "3speak-app",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"PoA": "0",
55
"description": "3Speak decentralized desktop app",
66
"main": "./dist/main.prod.js",
@@ -49,7 +49,7 @@
4949
"eslint-config-prettier": "^8.3.0",
5050
"eslint-plugin-prettier": "^4.0.0",
5151
"file-loader": "^3.0.1",
52-
"go-ipfs": "^0.19.2",
52+
"go-ipfs": "^0.16.0",
5353
"html-webpack-plugin": "^3.2.0",
5454
"less": "^3.13.1",
5555
"less-loader": "^4.1.0",

src/main/core/components/ipfsHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export class IpfsHandler {
171171
if (process.env.IPFS_PATH) {
172172
ipfsPath = process.env.IPFS_PATH
173173
} else {
174-
ipfsPath = Path.join(os.homedir(), '.ipfs-3speak2')
174+
ipfsPath = Path.join(os.homedir(), '.ipfs-3speak_v0.16.0')
175175
}
176176

177177
let exists

src/main/core/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class CoreService {
3939
async install() {
4040
this.start_progress.message = 'Installing IPFS'
4141
await waIpfs.install({
42-
version: 'v0.19.2',
42+
version: 'v0.16.0',
4343
dev: false,
4444
recursive: true,
4545
progressHandler: (pct) => {
@@ -100,7 +100,7 @@ export class CoreService {
100100
}
101101
const output = await execa(ipfsPath, ['version', '-n'])
102102
console.log(output)
103-
if(output.stdout !== "0.19.2") {
103+
if(output.stdout !== "0.16.2") {
104104
console.log('Ipfs not up to date')
105105
throw new Error('Ipfs not up to date')
106106
}

0 commit comments

Comments
 (0)