mirror of
https://github.com/Ylianst/MeshAgent
synced 2026-01-08 19:44:06 +00:00
9 lines
324 B
JavaScript
9 lines
324 B
JavaScript
|
|
var fs = require('fs');
|
|
|
|
var options = { sourceFileName: process.execPath, destinationStream: fs.createWriteStream('test.exe', { flags: 'wb' }), msh: 'WebProxy: proxy.jf.intel.com:911' };
|
|
|
|
options.destinationStream.on('finish', function () { console.log('finished'); process.exit(); });
|
|
|
|
require('MSH_Installer')(options);
|