add passing super.json path parameter on camera.js run
parent
23f710a206
commit
959cd0452e
|
@ -1,7 +1,8 @@
|
|||
module.exports = function(s){
|
||||
const configLocation = process.argv[2]
|
||||
const superLocation = process.argv[3]
|
||||
s.location = {
|
||||
super : s.mainDirectory+'/super.json',
|
||||
super : superLocation && superLocation.endsWith('.json') ? superLocation : s.mainDirectory+'/super.json',
|
||||
config : configLocation && configLocation.endsWith('.json') ? configLocation : s.mainDirectory+'/conf.json',
|
||||
languages : s.mainDirectory+'/languages'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue