mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Add experimental 7z compressor
This commit is contained in:
parent
4b73486688
commit
f98a3f7ae1
2 changed files with 34 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ import { LocalFileData } from 'get-file-object-from-local-path'
|
|||
import { Zip } from 'zip-lib'
|
||||
|
||||
import { AppScan } from '~/helpers/scanner/client'
|
||||
// import { compress } from '~/helpers/scanner/parsers/seven-zip'
|
||||
|
||||
|
||||
const appGlobOptions = {
|
||||
|
|
@ -50,6 +51,8 @@ async function makeZipFromBundlePath ( bundlePath ) {
|
|||
|
||||
// console.log( 'archivePath', archivePath )
|
||||
|
||||
// await compress( bundlePath, archivePath )
|
||||
|
||||
const zipLib = new Zip()
|
||||
|
||||
// Adds a folder from the file system, putting its contents at the root of archive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue