electron/spec/fixtures/test.asar
Fedor Indutny 06a00b74e8
fix: initialize asar support in worker threads (#33216)
* fix: initialize asar support in worker threads

Use `ObjectWrap` instead of gin's Wrap in `electron_api_asar.cc` because
gin isn't fully initialized (and apparently not possible to initialize
without ruining the isolate configuration and array buffer allocator) in
worker threads. In the worker thread call `setupAsarSupport` just as we
do for the main process.

* Update lib/asar/fs-wrapper.ts

Co-authored-by: Darshan Sen <raisinten@gmail.com>

* Update patches/node/worker_thread_add_asar_support.patch

Co-authored-by: Darshan Sen <raisinten@gmail.com>

* Add a test

Co-authored-by: Darshan Sen <raisinten@gmail.com>
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2022-03-22 20:37:55 -04:00
..
unpack.asar.unpacked
a.asar feat: add support for validating asar archives on macOS (#30667) 2021-09-09 14:49:01 -07:00
echo.asar feat: add support for validating asar archives on macOS (#30667) 2021-09-09 14:49:01 -07:00
empty.asar feat: add support for validating asar archives on macOS (#30667) 2021-09-09 14:49:01 -07:00
file
logo.asar feat: add support for validating asar archives on macOS (#30667) 2021-09-09 14:49:01 -07:00
repack.js feat: add support for validating asar archives on macOS (#30667) 2021-09-09 14:49:01 -07:00
script.asar feat: add support for validating asar archives on macOS (#30667) 2021-09-09 14:49:01 -07:00
unpack.asar feat: add support for validating asar archives on macOS (#30667) 2021-09-09 14:49:01 -07:00
video.asar feat: add support for validating asar archives on macOS (#30667) 2021-09-09 14:49:01 -07:00
web.asar feat: add support for validating asar archives on macOS (#30667) 2021-09-09 14:49:01 -07:00
worker_threads.asar fix: initialize asar support in worker threads (#33216) 2022-03-22 20:37:55 -04:00