Skip to content

Make node worker try the *.asar.unpacked path - #226

Merged
andywer merged 5 commits into
masterfrom
feature/electron-asar
Apr 5, 2020
Merged

andywer merged 5 commits into
masterfrom
feature/electron-asar

Conversation

@andywer

@andywer andywer commented Mar 25, 2020

Copy link
Copy Markdown
Owner

Try the *.asar.unpack path if the path contains .asar/. See https://www.electron.build/configuration/configuration#configuration-asarUnpack.

Fixes andywer/threads-plugin#17.

@andywer
andywer force-pushed the feature/electron-asar branch from 0ca9768 to 53d98d5 Compare March 25, 2020 06:57
@andywer andywer changed the title Make node worker try the *.asar.unpack path Make node worker try the *.asar.unpacked path Apr 1, 2020
@andywer
andywer merged commit 5dc9b40 into master Apr 5, 2020
@andywer
andywer deleted the feature/electron-asar branch April 5, 2020 15:10
jmaleonard referenced this pull request in jmaleonard/threadsx Jul 11, 2026
* Make node worker try the `*.asar.unpacked` path

* Document usage of `asarUnpack`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

electron - bundling with asar gives 'Cannot find module 0.bundle.worker.js' error

1 participant