From ff6b87bde7523e1681f833017d8028c886b801d8 Mon Sep 17 00:00:00 2001 From: Roy Lee Date: Mon, 7 Mar 2022 08:08:34 -0800 Subject: [PATCH] Update for supporting MacOS Bump usb-detection to v4.13.0 for supporting MacOS Note: The ibctminerscrypt dependency, which depends on multi-hashing fails to build on MacOS due to more strict warnings from Clang. Override the CFLAGS so the warnings won't be treated as errors and fail the compilation. CFLAGS="-Wno-implicit-function-declaration" npm install --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5250f45..741a0a1 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "stratum": "^0.2.4", "tty-table": "^2.5.5", "typescript": "^2.6.1", - "usb-detection": "^4.3.0", + "usb-detection": "^4.13.0", "uuid": "^3.1.0", "wait-until": "0.0.2", "watch": "^1.0.2", @@ -100,4 +100,4 @@ "main": "src/index.js", "name": "goldshellminer", "version": "2.2.5" -} \ No newline at end of file +}