spy-debugger/lib/scripts/postinstall.js
2017-01-01 12:59:00 +08:00

10 lines
309 B
JavaScript

'use strict';
var fs = require('fs');
var path = require('path');
try {
var anyproxyIndexHtml = fs.readFileSync(path.join(__dirname, '../../template/anyproxy_index.html'));
fs.writeFileSync(path.join(__dirname, '../../node_modules/anyproxy/web/index.html'), anyproxyIndexHtml);
} catch (e) {
//
}