diff --git a/assets/BitRock Installer Files/IgaunaApp-OSX.xml b/assets/BitRock Installer Files/IgaunaApp-OSX.xml
index 8a0a755..6cb12ca 100644
--- a/assets/BitRock Installer Files/IgaunaApp-OSX.xml
+++ b/assets/BitRock Installer Files/IgaunaApp-OSX.xml
@@ -56,7 +56,11 @@
0
- Downloading files
+ 0
+ Zcash Params file: sprout-proving.key
+ Zcash Params file: sprout-proving.key
+ 0
+ Downloading Zcash Params file
0
@@ -75,7 +79,10 @@
- Downloading files
+ 0
+ Zcash Params file: sprout-verifying.key
+ Zcash Params file: sprout-verifying.key
+ Downloading Zcash Params files
0
diff --git a/routes/shepherd.js b/routes/shepherd.js
index 93e663b..154e8b4 100644
--- a/routes/shepherd.js
+++ b/routes/shepherd.js
@@ -21,6 +21,7 @@ var shepherd = express.Router();
// IGUANA FILES AND CONFIG SETTINGS
var iguanaConfsDirSrc = path.join(__dirname, '../assets/deps/confs');
+var CorsProxyBin = path.join(__dirname, '../node_modules/corsproxy/bin/corsproxy');
// SETTING OS DIR TO RUN IGUANA FROM
// SETTING APP ICON FOR LINUX AND WINDOWS
@@ -187,6 +188,28 @@ function herder(flock, data) {
});
});
}
+
+ if (flock === 'corsproxy') {
+ console.log('corsproxy flock selected...');
+ console.log('selected data: '+data);
+
+ pm2.connect(true,function(err) { //start up pm2 god
+ if (err) {
+ console.error(err);
+ process.exit(2);
+ }
+
+ pm2.start({
+ script: CorsProxyBin, // path to binary
+ name: 'CORSPROXY', //REVS, USD, EUR etc.
+ exec_mode : 'fork',
+ cwd: iguanaDir,
+ }, function(err, apps) {
+ pm2.disconnect(); // Disconnect from PM2
+ if (err) throw err
+ });
+ });
+ }
}