This commit is contained in:
Sam Carlton 2022-07-18 18:05:44 -05:00
parent 14f36a314f
commit b68d6f12f6
2 changed files with 7 additions and 4 deletions

View file

@ -5,7 +5,7 @@ import prettyBytes from 'pretty-bytes'
import FileApi, { File } from 'file-api'
import { isString } from '~/helpers/check-types.js'
import { extraMachoMeta } from '~/helpers/scanner/parsers/macho.js'
import { extractMachoMeta } from '~/helpers/scanner/parsers/macho.js'
// For some reason inline 'import()' works better than 'import from'
// https://gildas-lormeau.github.io/zip.js/
@ -250,8 +250,9 @@ export class AppScan {
buffer: bundleExecutableBlob,
})
this.machoMeta = await extraMachoMeta({ machoFileInstance, FileApi }) //await this.parseMachOBlob( bundleExecutableBlob, file.name )
// console.log( 'this.machoMeta', this.machoMeta )
this.machoMeta = await extractMachoMeta({ machoFileInstance, FileApi }) //await this.parseMachOBlob( bundleExecutableBlob, file.name )
console.log( 'this.machoMeta', this.machoMeta )
}