mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Enable using multiple macho parsers
This commit is contained in:
parent
b96353dc3c
commit
5146877f58
2 changed files with 42 additions and 2 deletions
|
|
@ -4,8 +4,8 @@ import prettyBytes from 'pretty-bytes'
|
|||
// import zip from '@zip.js/zip.js'
|
||||
import FileApi, { File } from 'file-api'
|
||||
|
||||
import parseMacho from '~/helpers/macho/index.js'
|
||||
import { isString } from '~/helpers/check-types.js'
|
||||
import { extraMachoMeta } from '~/helpers/scanner/parsers/macho.js'
|
||||
|
||||
// For some reason inline 'import()' works better than 'import from'
|
||||
// https://gildas-lormeau.github.io/zip.js/
|
||||
|
|
@ -290,7 +290,7 @@ export class AppScan {
|
|||
buffer: bundleExecutableBlob,
|
||||
})
|
||||
|
||||
this.machoMeta = await parseMacho( machoFileInstance, FileApi ) //await this.parseMachOBlob( bundleExecutableBlob, file.name )
|
||||
this.machoMeta = await extraMachoMeta({ machoFileInstance, FileApi }) //await this.parseMachOBlob( bundleExecutableBlob, file.name )
|
||||
// console.log( 'this.machoMeta', this.machoMeta )
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue