refactor: remove electron.asar and embed JS in binary (#18577)
* refactor: remove electron.asar and embed JS in binary * chore: update DEPS to merged node sha * chore: remove unneeded eslint ignore
This commit is contained in:
parent
901cdb22e3
commit
24b3d66767
16 changed files with 44 additions and 62 deletions
|
@ -42,7 +42,7 @@ describe('asar package', function () {
|
|||
it('does not leak fd', function () {
|
||||
let readCalls = 1
|
||||
while (readCalls <= 10000) {
|
||||
fs.readFileSync(path.join(process.resourcesPath, 'electron.asar', 'renderer', 'init.js'))
|
||||
fs.readFileSync(path.join(process.resourcesPath, 'default_app.asar', 'index.js'))
|
||||
readCalls++
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue