Skip to content

Commit

Permalink
Merge pull request #686 from brave/mplesa-ipfs-windows-arm64
Browse files Browse the repository at this point in the history
ipfs on windows arm64
  • Loading branch information
mihaiplesa authored Aug 30, 2023
2 parents 2469b47 + 8d219c6 commit 4284642
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"description": "Brave IPFS local node component",
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlkgqO/A5+3OBGwVIEgecBfZUjIZus/BpkebGyTqlOfS3krVG0WPM7YV/K9RkQCVVZFMa45pasddZSslzxaPFGfECCovVKJRA43NWla+8eEmzdXH47StbYGhD6YMvkrjrgA4KQmlnns+YzkJr3qg5GK9IB5OMMyUldCrIue0A44QsfFLdNXAuS9Dowx3pxamIzHljXxpywzHsSUoIL9eStLreFrZIBcLszyDUdAo5LCt6vQq1tlQgAg68tVQ7dMZWg9Vb1bY0cpWEks2D5LDL8fnsn579l3Cw3dqC76Vc7fNdY00CEvvGMc8okUtZYSorTxtRr/EWftjQ0XtDvnGoFwIDAQAB",
"manifest_version": 2,
"name": "Brave IPFS local node (Windows)",
"version": "0.0.0"
}
4 changes: 4 additions & 0 deletions scripts/downloadIpfsDaemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ const downloadIpfsDaemon = (platform, arch) => {
case 'windows-amd64':
sha512IPFS = '28955a5289dc6ed6ce26ae77476afe2fd05cd5a8c4a71e34827775b2a43860d968517ff3891fbfb53975e006282387829b20d75917015545a57ac9e4229762a8'
break
case 'windows-arm64':
sha512IPFS = '4fc61bbaa4ecf8d1a783ec0b1a0f51ac127d0ad3c4e0f01a730a98027dc921a00398aeaa7bf74b5cd3771ac9257863bff462cc8f3b3d377648c9700ecd014fbd'
break
default:
throw new Error('Ipfs Daemon download failed; unrecognized platform: ' + platform)
}
Expand Down Expand Up @@ -80,6 +83,7 @@ downloadIpfsDaemon('darwin', 'arm64')
downloadIpfsDaemon('linux', 'amd64')
downloadIpfsDaemon('linux', 'arm64')
downloadIpfsDaemon('win32', 'amd64')
downloadIpfsDaemon('win32', 'arm64')

export {
ipfsVersion
Expand Down
2 changes: 2 additions & 0 deletions scripts/packageIpfsDaemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,6 @@ util.createTableIfNotExists(commander.endpoint, commander.region).then(() => {
'linux', 'arm64', keyParam, commander.publisherProofKey)
packageIpfsDaemon(commander.binary, commander.endpoint, commander.region,
'win32', 'amd64', keyParam, commander.publisherProofKey)
packageIpfsDaemon(commander.binary, commander.endpoint, commander.region,
'win32', 'arm64', keyParam, commander.publisherProofKey)
})

0 comments on commit 4284642

Please sign in to comment.