Browse Source

Merge branch 'master' of http://git.bbh/chess/elxr

production
pb 3 years ago
parent
commit
9384dc90f8
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      index.js

+ 2
- 1
index.js View File

var p = nodeShellExec('mklink', [ `${processedArgs._[2]}.json` var p = nodeShellExec('mklink', [ `${processedArgs._[2]}.json`
, `..\\..\\node_modules\\chess-server-lib\\common\\models\\${processedArgs._[2]}.json`], { , `..\\..\\node_modules\\chess-server-lib\\common\\models\\${processedArgs._[2]}.json`], {
inherit: true, shell: true inherit: true, shell: true
, cwd : instanceroot + `/${selectedinstance.instanceName}-server/${selectedinstance}/models`
, cwd : instanceroot + `/${selectedinstance.instanceName}-server/${selectedinstance.instanceName}/models`
, title: `mklink ${processedArgs._[2]}.json ..\\..\\node_modules\\chess-server-lib\\common\\models\\${processedArgs._[2]}.json`
, env: process.env , env: process.env
}).catch((e) => { console.error(e) }) }).catch((e) => { console.error(e) })
return p; return p;

Loading…
Cancel
Save