mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-28 11:46:30 +08:00
Remove the original-fs.js
It is acutally not needed.
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
vm = require 'vm'
|
||||
|
||||
# Execute the 'fs.js' and pass the 'exports' to it.
|
||||
source = '(function (exports, require, module, __filename, __dirname) { ' +
|
||||
process.binding('natives').originalFs +
|
||||
'\n});'
|
||||
fn = vm.runInThisContext source, { filename: 'fs.js' }
|
||||
fn exports, require, module
|
||||
@@ -35,7 +35,6 @@
|
||||
'atom/common/api/lib/crash-reporter.coffee',
|
||||
'atom/common/api/lib/id-weak-map.coffee',
|
||||
'atom/common/api/lib/native-image.coffee',
|
||||
'atom/common/api/lib/original-fs.coffee',
|
||||
'atom/common/api/lib/shell.coffee',
|
||||
'atom/common/lib/init.coffee',
|
||||
'atom/renderer/lib/chrome-api.coffee',
|
||||
|
||||
Reference in New Issue
Block a user