asar
asar copied to clipboard
Simple extensive tar-like archive format with indexing
Hello all I'm working on migrating electron-builder to leverage electron/asar instead of its in-house solution. In one of our unit tests I have the following structure: ``` /project# tree "/tmp/et-db411cd21f3bbd882f3a5a30c58db6ff/t-jp88Jv/asar-app-1"...
## Setup ``` cd ~ mkdir repro cd repo echo hello > hello.txt ln -s ~/repro/hello.txt world.txt ls -l ``` Output: ``` total 4 -rw-r--r-- 1 xxxxxx xxxxxx 5 Apr...
Adds an optional parameter to `asar ef` using `[destination]` optional arg syntax Resolves 2 `it.todo` unit tests with the support of an output directory
Installing the latest version of the package gives two deprecation notices: ``` PS> npm -g install @electron/[email protected] npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do...
Was having a fun chat with @erickzhao and wanted to see if I could lend a hand! This PR accomplishes a few things: - Migrates from `mocha` to `vitest` -...
``` /home/taxmachine/squashfs-root/resources/node_modules/@electron/asar/lib/asar.js:253 throw new Error('Unable to extract some files:\n\n' + ^ Error: Unable to extract some files: RangeError [ERR_INVALID_ARG_VALUE]: The argument 'size' is invalid. Received 6.62534095087035e+306 at Function.alloc (node:buffer:405:3) at...
Bumps [glob](https://github.com/isaacs/node-glob) from 11.0.1 to 11.1.0. Changelog Sourced from glob's changelog. changeglob 12 Remove the unsafe --shell option. The --shell option is now ONLY supported on known shells where the...
This is to add support for the additional integrity digest API I am adding in this pull request: https://github.com/electron/electron/pull/48587. I believe this package is the best place to put this...
I have an ASAR package that was generated on Windows using '\' directory separators. The file is located within the package at 'test\test1.json'. When I call asar.extractFile using the filepath...