chore: update asar injection for new node internal module loader
This commit is contained in:
parent
9c36576ddd
commit
b1e69e1357
2 changed files with 3 additions and 5 deletions
|
@ -1,9 +1,7 @@
|
|||
'use strict'
|
||||
|
||||
;(function () { // eslint-disable-line
|
||||
return function (process, require, asarSource) {
|
||||
const source = process.binding('natives')
|
||||
|
||||
return function (source, require, asarSource) {
|
||||
// Expose fs module without asar support.
|
||||
source['original-fs'] = source.fs
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue