Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

fix(__dirname): adds horrible wrapper hack for __dirname with webpack… #115

Merged
merged 1 commit into from
May 23, 2020

Conversation

2xAA
Copy link
Member

@2xAA 2xAA commented May 23, 2020

… & electron & workers

This is an abominable hack which works around the fact webpack just does whatever the fuck it wants with workers. We stall everything in the worker until we've sent it the correct path to the .asar, then in the NDI store module we temporarily set the location of grandiose within the .asar.
Guaranteed this will come back to bite us in the arse.

fix #114

… & electron & workers

This is an abominable hack which works around the fact webpack just does whatever the fuck it wants
with workers. We stall everything in the worker until we've sent it the correct path to the .asar,
then in the NDI store module we temporarily set the location of grandiose within the .asar.
Guaranteed this will come back to bite us in the arse.

fix #114
@2xAA 2xAA merged commit 81eac0a into master May 23, 2020
@hughrawlinson
Copy link
Contributor

👋

@2xAA 2xAA deleted the fix/114/path-resolve branch May 26, 2020 20:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Electron build with asar and native modules causes a path resolve error
2 participants