mirror of
https://github.com/wuchangming/spy-debugger.git
synced 2026-01-25 14:44:03 +00:00
10 lines
307 B
JavaScript
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) {
|
|
//
|
|
} |