From c33ba6719ece3386104a5b913147450d63d4ccbd Mon Sep 17 00:00:00 2001 From: pbca26 Date: Thu, 16 Nov 2017 20:17:34 +0300 Subject: [PATCH] electron version bump --- package.json | 4 ++-- routes/shepherd/coindWalletKeys.js | 2 +- routes/shepherd/daemonControl.js | 2 +- version | 2 +- version_build | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 82a4a03..ab7f3d7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "agama-app", "productName": "Agama", - "version": "0.2.23", + "version": "0.2.24", "description": "Agama Wallet Desktop App", "main": "main.js", "scripts": { @@ -21,7 +21,7 @@ "author": "SuperNET", "license": "MIT", "devDependencies": { - "electron": "^1.4.1", + "electron": "^1.6.15", "electron-installer-debian": "^0.6.0", "electron-installer-redhat": "^0.5.0" }, diff --git a/routes/shepherd/coindWalletKeys.js b/routes/shepherd/coindWalletKeys.js index 8ddbaf7..e82ff74 100644 --- a/routes/shepherd/coindWalletKeys.js +++ b/routes/shepherd/coindWalletKeys.js @@ -9,7 +9,7 @@ module.exports = (shepherd) => { const chain = req.query.chain; // ref: https://gist.github.com/kendricktan/1e62495150ad236b38616d733aac4eb9 - let _walletDatLocation = chain === 'komodo' ? `${shepherd.komodoDir}/wallet.dat` : `${shepherd.komodoDir}/${chain}/wallet.dat`; + let _walletDatLocation = chain === 'komodo' || chain === 'null' ? `${shepherd.komodoDir}/wallet.dat` : `${shepherd.komodoDir}/${chain}/wallet.dat`; _walletDatLocation = chain === 'CHIPS' ? `${shepherd.chipsDir}/wallet.dat` : _walletDatLocation; try { diff --git a/routes/shepherd/daemonControl.js b/routes/shepherd/daemonControl.js index 23ec48b..14abbf2 100644 --- a/routes/shepherd/daemonControl.js +++ b/routes/shepherd/daemonControl.js @@ -182,7 +182,7 @@ module.exports = (shepherd) => { shepherd.log(`created ${_daemonLogName}`); fs.unlinkSync(_daemonLogName); } catch (e) { - shepherd.log(`error accessing ${_daemonLogName}, doesnt exist?`); + shepherd.log(`error accessing ${_daemonLogName}, doesnt exist or another proc is already running`); } if (!shepherd.appConfig.stopNativeDaemonsOnQuit) { diff --git a/version b/version index a963771..6f7de9f 100644 --- a/version +++ b/version @@ -1,3 +1,3 @@ -version=0.2.0.24b +version=0.2.0.24c type=e-beta minversion=0.2.0.2 \ No newline at end of file diff --git a/version_build b/version_build index 319e327..6c79e0e 100644 --- a/version_build +++ b/version_build @@ -1 +1 @@ -0.2.0.24b-beta \ No newline at end of file +0.2.0.24c-beta \ No newline at end of file