Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Upgrade to Electron 1.2.2 #811

Merged
merged 3 commits into from
Jun 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ Once a Mist version is released the Meteor frontend part is bundled using `meteo

Requirements:

* Electron v1.0.1
* Electron v1.2.2
* Node v4.3.0 or above

To run mist in development you need [Node.js NPM](https://nodejs.org) and [Meteor](https://www.meteor.com/install) and electron installed:

$ curl https://install.meteor.com/ | sh
$ npm install -g electron-prebuilt@1.0.1
$ npm install -g electron-prebuilt@1.2.2

### Installation

Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var filenameLowercase = 'mist';
var filenameUppercase = 'Mist';
var applicationName = 'Mist';

var electronVersion = '1.0.1';
var electronVersion = '1.2.2';
var osVersions = [];
var packJson = require('./package.json');
var version = packJson.version;
Expand Down
7 changes: 5 additions & 2 deletions modules/ipc/ipcProviderBackend.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ class IpcProviderBackend {
})
.then(() => {
log.debug(`Socket connected, id=${ownerId}`);

owner.send('ipcProvider-setWritable', true);
})
.finally(() => {
delete this._connectionPromise[ownerId];
Expand All @@ -168,6 +166,8 @@ class IpcProviderBackend {
}
})
.then(() => {
owner.send('ipcProvider-setWritable', true);

return this._connections[ownerId];
});
}
Expand Down Expand Up @@ -384,6 +384,9 @@ class IpcProviderBackend {
});
}

delete ret.params;
delete ret.method;

ret.jsonrpc = '2.0';

return ret;
Expand Down