Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

frontend changes for tor integration #12987

Closed
wants to merge 15 commits into from
Closed
3 changes: 2 additions & 1 deletion tools/package_tor.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ execute([cmd], '', (err) => {
console.log('tor binary checksum matches')
// unzip on windows
if (isWindows) {
fs.chmodSync(torBinary, 0o755)
fs.createReadStream(torBinary).pipe(unzip.Extract({ path: torPath }))
}
// make it executable
fs.chmodSync(torBinary, 0o755)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works (still) on mac

@jumde could you check windows?

console.log('done')
})