Browse Source

kmd passive flag

all-modes
pbca26 7 years ago
parent
commit
68d728b2de
  1. 1
      main.js
  2. 5
      routes/shepherd.js

1
main.js

@ -370,6 +370,7 @@ function createWindow(status) {
mainWindow.zcashParamsExist = _zcashParamsExist;
mainWindow.iguanaIcon = iguanaIcon;
mainWindow.testLocation = shepherd.testLocation;
mainWindow.kmdMainPassiveMode = shepherd.kmdMainPassiveMode;
if (appConfig.dev) {
mainWindow.loadURL('http://127.0.0.1:3000');

5
routes/shepherd.js

@ -95,10 +95,15 @@ if (os.platform() === 'win32') {
shepherd.appConfigSchema = _appConfig.schema;
shepherd.defaultAppConfig = Object.assign({}, shepherd.appConfig);
shepherd.kmdMainPassiveMode = false;
shepherd.coindInstanceRegistry = coindInstanceRegistry;
shepherd.startKMDNative = function(selection, isManual) {
if (isManual) {
shepherd.kmdMainPassiveMode = true;
}
if (selection === 'KMD') {
const herdData = {
'ac_name': 'komodod',

Loading…
Cancel
Save