Skip to content

Commit

Permalink
Merge pull request #59 from ZorrillosDev/v0.1.0-ipfs-stuck
Browse files Browse the repository at this point in the history
fix: Cant connect with new v0 1 0-beta 9 AppImage
  • Loading branch information
geolffreym authored Apr 28, 2021
2 parents b1b03a1 + 54b3e5c commit 00e08ab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "watchit",
"author": "ZorrillosDev",
"version": "0.1.0-beta.9",
"version": "0.1.0-beta.10",
"private": true,
"main": "./src/main/index.js",
"description": "Open movies everywhere",
Expand Down
2 changes: 0 additions & 2 deletions src/main/core/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,8 @@ module.exports = class Node extends EventEmitter {
return new Promise(async (res) => {
// If fail to much.. get fuck out
log.info('Setting up node..');
this.emit('node-step', 'Bootstrapping')
this.node = this.node || await ipfs.start();
if (this.node) return res(this.node)
if(!this.seedMode) return await this.party('Aborting')
// Hold on while raise node
setTimeout(async () => {
this.node = await this.instanceNode();
Expand Down
2 changes: 1 addition & 1 deletion src/render/core/app/pages/index-view/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class MovieIndex extends React.Component {

//Default state
this.state = {
state: 'Initializing', percent: 0, peers: this.peers, count: DEFAULT_INIT_LOAD,
state: 'Bootstrapping', percent: 0, peers: this.peers, count: DEFAULT_INIT_LOAD,
ready: false, loading: true, movies: [], screen: this.getRecalculatedScreen(),
lock: false, // Avoid re-render movies list
finishLoad: false, showDetailsFor: false, logout: false
Expand Down

0 comments on commit 00e08ab

Please sign in to comment.