From e1e29a4f7a9f4ab7e068996795c0bcb837c79081 Mon Sep 17 00:00:00 2001 From: chiefbiiko Date: Wed, 10 Feb 2021 10:44:55 +0100 Subject: [PATCH] 2.0.4 Update openethereum from v3.0.1 to v3.1.1 why - openethereum downloads for v3.0.1 are no longer available caveat - there is no windows binary for v3.1.1 --- index.js | 2 +- install.js | 18 +++++++++--------- package.json | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/index.js b/index.js index 8d8d8e7..adcec75 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ const path = require('path') module.exports = path.resolve(__dirname, './openethereum.exe') -module.exports.version = 'v3.0.1' +module.exports.version = 'v3.1.1' diff --git a/install.js b/install.js index 03b5d03..a28a5d7 100644 --- a/install.js +++ b/install.js @@ -5,9 +5,9 @@ const fs = require('fs') const stream = require('stream') const path = require('path') -const win32Sha256 = '42c05ed84a0588110afd8fe379685335cf792660d6684fc90cdac54695dda636' -const darwinSha256 = 'f41cb1f49727ccf09e4f34b964fdfa9ad3802a046f6acd6c349a41020cdcf1c7' -const linuxSha256 = '8dd753058e5db77ffaede5a53418005f9c8133212448e11df9169a651cdac997' +const win32Sha256 = '' +const darwinSha256 = '78cbb9c6b6f8d1cb40d7e65d152062d2e259e73fa85b83d3b8e778d62ddf9ba2' +const linuxSha256 = '1bed234e83fa9196feffe1d5d3fdc23fb68b2cd4fbbfab579ff4ca058c3b3cb2' var url var sha @@ -15,16 +15,16 @@ var exeName = 'openethereum.exe' const win32 = os.platform() === 'win32' switch (os.platform()) { - case 'win32': - url = 'https://github.com/openethereum/openethereum/releases/download/v3.0.1/openethereum-windows-v3.0.1.zip' - sha = win32Sha256 - break + //case 'win32': + // url = '' + // sha = win32Sha256 + // break case 'darwin': - url = 'https://github.com/openethereum/openethereum/releases/download/v3.0.1/openethereum-macos-v3.0.1.zip' + url = 'https://github.com/openethereum/openethereum/releases/download/v3.1.1/openethereum-macos-v3.1.1.zip' sha = darwinSha256 break case 'linux': - url = 'https://github.com/openethereum/openethereum/releases/download/v3.0.1/openethereum-linux-v3.0.1.zip' + url = 'https://github.com/openethereum/openethereum/releases/download/v3.1.1/openethereum-linux-v3.1.1.zip' sha = linuxSha256 break default: diff --git a/package.json b/package.json index e5aa947..c48456c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openethereum-binary", - "version": "2.0.3", + "version": "2.0.4", "description": "Download latest openethereum and export the path", "main": "index.js", "bin": {