提交 bf5774af 编写于 作者: B Benjamin Pasero

VS Code allows to open *.asar file from the command line (fixes #8723)

上级 d229616e
......@@ -1887,6 +1887,12 @@ declare module 'electron' {
export = electron;
}
declare module 'original-fs' {
import * as fs from 'fs';
export = fs;
}
// interface NodeRequireFunction {
// (moduleName: 'electron'): Electron.Electron;
// }
\ No newline at end of file
......@@ -6,7 +6,7 @@
'use strict';
import * as crypto from 'crypto';
import * as fs from 'fs';
import * as fs from 'original-fs';
import * as path from 'path';
import * as os from 'os';
import { app } from 'electron';
......
......@@ -6,7 +6,7 @@
'use strict';
import * as nls from 'vs/nls';
import * as fs from 'fs';
import * as fs from 'original-fs';
import { app, ipcMain as ipc } from 'electron';
import { assign } from 'vs/base/common/objects';
import { mkdirp } from 'vs/base/node/pfs';
......
......@@ -6,7 +6,7 @@
'use strict';
import * as path from 'path';
import * as fs from 'fs';
import * as fs from 'original-fs';
import { EventEmitter } from 'events';
import { IEnvironmentService } from 'vs/code/electron-main/env';
import { ServiceIdentifier, createDecorator } from 'vs/platform/instantiation/common/instantiation';
......
......@@ -5,7 +5,7 @@
'use strict';
import * as fs from 'fs';
import * as fs from 'original-fs';
import * as path from 'path';
import * as electron from 'electron';
import * as platform from 'vs/base/common/platform';
......
......@@ -6,7 +6,7 @@
'use strict';
import * as path from 'path';
import * as fs from 'fs';
import * as fs from 'original-fs';
import * as platform from 'vs/base/common/platform';
import * as nls from 'vs/nls';
import * as paths from 'vs/base/common/paths';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册