|
|
@ -116,10 +116,10 @@ tools.init = function (pCb) { |
|
|
console.log(pErr.grey) |
|
|
console.log(pErr.grey) |
|
|
console.log('1. Add one SDCard into the device') |
|
|
console.log('1. Add one SDCard into the device') |
|
|
console.log('2. Take one picture manually') |
|
|
console.log('2. Take one picture manually') |
|
|
process.exit(1) |
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
console.log(`OK: ${output}`.green) |
|
|
} |
|
|
} |
|
|
console.log(`OK: ${output}`.green) |
|
|
|
|
|
pCb() |
|
|
|
|
|
|
|
|
pCb(pErr) |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
// opn(output)
|
|
|
// opn(output)
|
|
|
|