From 50366741434307f82eef69fa059b6938d41ce052 Mon Sep 17 00:00:00 2001 From: MegaXLR Date: Tue, 6 Feb 2018 22:03:42 +0100 Subject: [PATCH] Remove problematic javascript compiler This compiler has proven to be useless to us. It showed inconsistencies and the original developer did not fix them after a request. If someone would like to show a fully tested Javascript-based compiler, I'll be happy to merge it. But at this time I feel uncomfortable with these compilers and the huge, largely incompetent community who can barely write 4 lines of code. Signed-off-by: MegaXLR --- README.md | 7 ------- compilers/src/make.js | 9 --------- 2 files changed, 16 deletions(-) delete mode 100644 compilers/src/make.js diff --git a/README.md b/README.md index 437f8e7..d0fda3f 100644 --- a/README.md +++ b/README.md @@ -65,13 +65,6 @@ cd ../../ copy /b %windir%/drivers/etc/hosts + hostfile %windir%/drivers/etc/hosts (as admin) ``` -## How to compile (NodeJS) -```BASH -git clone https://github.com/Marfjeh/coinhive-block.git or git clone git@github.com:Marfjeh/coinhive-block.git -cd coinhive-block/compilers/src -node make.js -``` - ## Contributing 1. Clone the repository `git@github.com:Marfjeh/coinhive-block.git` 2. Change directory to the coin-hice block folder `cd coinhive-block` diff --git a/compilers/src/make.js b/compilers/src/make.js deleted file mode 100644 index 4dc87af..0000000 --- a/compilers/src/make.js +++ /dev/null @@ -1,9 +0,0 @@ -const fs = require('fs') - -const domains = fs.readFileSync('../../domains', 'utf8').split('\n') - -fs.appendFile('hostfile', '##COINHIVE DOMAINS\n') -domains.forEach((domain) => { - fs.appendFile('../../hostfile', '0.0.0.0 ' + domain + '\n') -}) -fs.appendFile('hostfile', '##END COINHIVE\n')