mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Import parseMacho normally
This commit is contained in:
parent
391699c68c
commit
f717f4bf22
1 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
|||
import { Buffer } from 'buffer/'
|
||||
|
||||
import parseMacho from '~/helpers/macho/index.js'
|
||||
|
||||
// import { Parser as MachoNodeParser } from './macho-node/parser.js'
|
||||
|
||||
function makeFileBuffer ( buffer ) {
|
||||
|
|
@ -83,8 +85,7 @@ export class MachoManiac {
|
|||
}
|
||||
|
||||
async run () {
|
||||
// import parseMacho from '~/helpers/macho/index.js'
|
||||
const { default: parseMacho } = await import( '~/helpers/macho/index.js' )
|
||||
// const { default: parseMacho } = await import( '~/helpers/macho/index.js' )
|
||||
|
||||
const contextHasFileGlobal = typeof File === 'function'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue