Upgrade package versions

- Upgrade electron to 3.0.2
- Upgrade other dependencies to the latest versions
- Clean up deprecated code
This commit is contained in:
Vishwas Shashidhar
2018-10-02 12:34:38 +05:30
parent 6d86071072
commit ba83338e6e
7 changed files with 33 additions and 33 deletions

View File

@@ -143,7 +143,7 @@ function readResult(outputFileName, resolve, reject, childProcessErr) {
try {
// convert binary data to base64 encoded string
let output = Buffer(data).toString('base64');
let output = Buffer.from(data).toString('base64');
resolve({
type: 'image/jpg;base64',
data: output