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
This commit is contained in:
Roy Lee 2022-03-07 08:08:34 -08:00
parent e521d9dab6
commit ff6b87bde7

View file

@ -62,7 +62,7 @@
"stratum": "^0.2.4", "stratum": "^0.2.4",
"tty-table": "^2.5.5", "tty-table": "^2.5.5",
"typescript": "^2.6.1", "typescript": "^2.6.1",
"usb-detection": "^4.3.0", "usb-detection": "^4.13.0",
"uuid": "^3.1.0", "uuid": "^3.1.0",
"wait-until": "0.0.2", "wait-until": "0.0.2",
"watch": "^1.0.2", "watch": "^1.0.2",
@ -100,4 +100,4 @@
"main": "src/index.js", "main": "src/index.js",
"name": "goldshellminer", "name": "goldshellminer",
"version": "2.2.5" "version": "2.2.5"
} }