spy-debugger/lib/scripts/postinstall.js

10 lines
307 B
JavaScript

'use strict';
var fs = require('fs');
var path = require('path');
try {
var newTextPromptJs = fs.readFileSync(path.join(__dirname, '../../template/TextPrompt.js'));
fs.writeFileSync(path.join(__dirname, '../../node_modules/weinre/web/client/TextPrompt.js'), newTextPromptJs);
} catch (e) {
//
}