mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Import zip.js at top
This commit is contained in:
parent
0d50f7a70a
commit
f22bfe4d03
1 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
import plist from 'plist'
|
import plist from 'plist'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import prettyBytes from 'pretty-bytes'
|
import prettyBytes from 'pretty-bytes'
|
||||||
|
import * as zip from '@zip.js/zip.js'
|
||||||
|
|
||||||
import { isString } from './check-types.js'
|
import { isString } from './check-types.js'
|
||||||
import parseMacho from './macho/index.js'
|
import parseMacho from './macho/index.js'
|
||||||
|
|
@ -73,8 +74,6 @@ export function makeObservableArray () {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let zip = null
|
|
||||||
|
|
||||||
export default class AppFilesScanner {
|
export default class AppFilesScanner {
|
||||||
|
|
||||||
constructor( {
|
constructor( {
|
||||||
|
|
@ -661,7 +660,7 @@ export default class AppFilesScanner {
|
||||||
|
|
||||||
async setupZipReader () {
|
async setupZipReader () {
|
||||||
// https://gildas-lormeau.github.io/zip.js/
|
// https://gildas-lormeau.github.io/zip.js/
|
||||||
zip = await import('@zip.js/zip.js')
|
// zip = await import('@zip.js/zip.js')
|
||||||
|
|
||||||
// console.log( 'zip', zip )
|
// console.log( 'zip', zip )
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue