Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASAR problem in Electron #402

Open
markkovacs76 opened this issue Feb 27, 2024 · 1 comment
Open

ASAR problem in Electron #402

markkovacs76 opened this issue Feb 27, 2024 · 1 comment

Comments

@markkovacs76
Copy link

If node-tar is used in Electron environment where asar file support is enabled, the entry names with extension asar will not be written correctly, because Electron uses its own 'fs' library which handles asar files as a sub-directory.
Hence, Electron does offer 'original-fs' library if you want to use asar file as normal file instead of a virtual sub-directory in the modified 'fs'.
It would be good if node-tar supported the 'original-fs' library by demand instead of 'fs' from electron.

@isaacs
Copy link
Owner

isaacs commented Apr 10, 2024

I'm not sure what the feature request is here. What would the interface look like, and how would it behave?

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

No branches or pull requests

2 participants