Skip to content

Commit

Permalink
Merge pull request #249 from sCrypt-Inc/arch-ckeck
Browse files Browse the repository at this point in the history
Disable arch check
  • Loading branch information
msinkec authored Oct 17, 2023
2 parents 7af4e0f + fe2df44 commit 037fca0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scryptlib",
"version": "2.1.32",
"version": "2.1.33",
"description": "Javascript SDK for integration of Bitcoin SV Smart Contracts written in sCrypt language.",
"engines": {
"node": ">=14.0.0"
Expand Down
8 changes: 0 additions & 8 deletions util/getBinary.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ const getBinary = async (version) => {
const architecture = os.arch()
const platform = os.platform()

if (architecture !== 'x64' && architecture !== 'arm64') {
throw new Error(`CPU architecture ${architecture} is not supported.`)
} else {
if (architecture === 'arm64' && platform != 'linux') {
throw new Error(`Only Linux is currently supported for arm64.`)
}
}

let FILENAME = "Windows-AMD64.exe";

version = version || DEFAULT_COMPILER_VERSION
Expand Down

0 comments on commit 037fca0

Please sign in to comment.