Removed references to missing PE_Parse module.

This commit is contained in:
Ylian Saint-Hilaire 2018-06-13 14:37:57 -07:00
parent 91858e0f64
commit 2e0b4231ec
3 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ module.exports.streamExeWithJavaScript = function (options) {
if (!options.js) { throw ('js content not specified'); }
// If a Windows binary, parse it if not already parsed
if ((options.platform == 'win32') && (!options.peinfo)) { options.peinfo = require('PE_Parser')(options.sourcePath); }
if ((options.platform == 'win32') && (!options.peinfo)) { options.peinfo = module.exports.parseWindowsExecutable(options.sourceFileName); }
// If unsigned Windows or Linux, we merge at the end with the GUID and no padding.
if ((options.platform == 'win32' && options.peinfo.CertificateTableAddress == 0) || options.platform != 'win32') {
@ -79,7 +79,7 @@ module.exports.streamExeWithMeshPolicy = function (options) {
if (!options.msh) { throw ('msh content not specified'); }
// If a Windows binary, parse it if not already parsed
if ((options.platform == 'win32') && (!options.peinfo)) { options.peinfo = require('PE_Parser')(options.sourcePath); }
if ((options.platform == 'win32') && (!options.peinfo)) { options.peinfo = module.exports.parseWindowsExecutable(options.sourceFileName); }
// If unsigned Windows or Linux, we merge at the end with the GUID and no padding.
if ((options.platform == 'win32' && options.peinfo.CertificateTableAddress == 0) || options.platform != 'win32') {

View File

@ -1,6 +1,6 @@
{
"name": "meshcentral",
"version": "0.1.8-b",
"version": "0.1.8-d",
"keywords": [
"Remote Management",
"Intel AMT",

View File

@ -286,7 +286,7 @@
<option value=6>Descend by date</option>
</select>
</div>
<div id=p13currentpath style="height:18px;overflow:hidden;padding-left:4px;padding-top:2px"></div>
<div id=p13currentpath style="white-space:nowrap;overflow:hidden;padding-left:4px;padding-top:2px;max-width:100px"></div>
</td>
</tr>
</table>