Removed references to missing PE_Parse module.

Ylian Saint-Hilaire committed Jun 13, 2018 at 14:37 UTC 2e0b4231ec7d9a36f3917be632a1fc848fa1ea9d
3 files changed +4 -4
exeHandler.js
+2 -2
@@ -37,7 +37,7 @@ module.exports.streamExeWithJavaScript = function (options) {
37 if (!options.js) { throw ('js content not specified'); }
38
39 // If a Windows binary, parse it if not already parsed
40 - if ((options.platform == 'win32') && (!options.peinfo)) { options.peinfo = require('PE_Parser')(options.sourcePath); }
40 + if ((options.platform == 'win32') && (!options.peinfo)) { options.peinfo = module.exports.parseWindowsExecutable(options.sourceFileName); }
41
42 // If unsigned Windows or Linux, we merge at the end with the GUID and no padding.
43 if ((options.platform == 'win32' && options.peinfo.CertificateTableAddress == 0) || options.platform != 'win32') {
@@ -79,7 +79,7 @@ module.exports.streamExeWithMeshPolicy = function (options) {
79 if (!options.msh) { throw ('msh content not specified'); }
80
81 // If a Windows binary, parse it if not already parsed
82 - if ((options.platform == 'win32') && (!options.peinfo)) { options.peinfo = require('PE_Parser')(options.sourcePath); }
82 + if ((options.platform == 'win32') && (!options.peinfo)) { options.peinfo = module.exports.parseWindowsExecutable(options.sourceFileName); }
83
84 // If unsigned Windows or Linux, we merge at the end with the GUID and no padding.
85 if ((options.platform == 'win32' && options.peinfo.CertificateTableAddress == 0) || options.platform != 'win32') {
package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "meshcentral",
3 - "version": "0.1.8-b",
3 + "version": "0.1.8-d",
4 "keywords": [
5 "Remote Management",
6 "Intel AMT",
views/default-mobile.handlebars
+1 -1
@@ -286,7 +286,7 @@
286 <option value=6>Descend by date</option>
287 </select>
288 </div>
289 - <div id=p13currentpath style="height:18px;overflow:hidden;padding-left:4px;padding-top:2px"></div>
289 + <div id=p13currentpath style="white-space:nowrap;overflow:hidden;padding-left:4px;padding-top:2px;max-width:100px"></div>
290 </td>
291 </tr>
292 </table>