Make fs.stat support asar package
This commit is contained in:
parent
fa287c2422
commit
9b755620d3
5 changed files with 72 additions and 4 deletions
|
@ -33,3 +33,6 @@ global.clearImmediate = timers.clearImmediate
|
|||
if process.type is 'browser'
|
||||
global.setTimeout = wrapWithActivateUvLoop timers.setTimeout
|
||||
global.setInterval = wrapWithActivateUvLoop timers.setInterval
|
||||
|
||||
# Add support for asar packages.
|
||||
require './asar'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue