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

Add env var to export a hint file to optimize ASAR ordering #3902

Merged
merged 3 commits into from
Jan 21, 2016

Conversation

bengotow
Copy link
Contributor

Overview here: atom/atom#10163

@bengotow bengotow changed the title Add env var to export a hint file to optimize archive ordering Add env var to export a hint file to optimize ASAR ordering Dec 23, 2015
@@ -25,6 +25,12 @@ Starts the process as a normal Node.js process.

Prints Chrome's internal logging to console.

## `ELECTRON_LOG_ASAR_READS`

When Electron reads from an ASAR file, log the the read offset and file path
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: the the

@etiktin
Copy link
Contributor

etiktin commented Dec 24, 2015

Some asar resources are loaded from the c++ side (example). Will this code log them as well?

@bengotow
Copy link
Contributor Author

Hey folks thanks for the feedback—sorry I dropped the ball on this one. I'll address those typos! @etiktin, this isn't currently logging resources loaded from the C++ side. I'm not sure if it's possible to log those to the same file, and ensure that they're written to the logged in the correct order...

@zcbenz
Copy link
Member

zcbenz commented Jan 21, 2016

@bengotow Do you mind rebasing this on master branch? Recently we have converted all our CoffeeScript files to JavaScript.

@bengotow
Copy link
Contributor Author

Glad to see everything is going to ES6. I've converted my changes to JS and updated the pull request. Also double-checked to make sure it still works correctly.

@zcbenz
Copy link
Member

zcbenz commented Jan 21, 2016

👍

zcbenz added a commit that referenced this pull request Jan 21, 2016
Add env var to export a hint file to optimize ASAR ordering
@zcbenz zcbenz merged commit b039741 into electron:master Jan 21, 2016
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.

None yet

4 participants