This commit is contained in:
Antonio Scandurra
2017-02-24 16:36:16 +01:00
parent 91a38b633e
commit ea879340c0
3 changed files with 2 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
// Run bootstrap first to ensure all the dependencies used later in this script
// are installed.
require('./bootstrap')
//require('./bootstrap')
// Needed so we can require src/module-cache.coffee during generateModuleCache
require('coffee-script/register')

View File

@@ -19,7 +19,6 @@ module.exports = function () {
'app-copyright': `Copyright © 2014-${(new Date()).getFullYear()} GitHub, Inc. All rights reserved.`,
'app-version': CONFIG.appMetadata.version,
'arch': process.platform === 'darwin' ? 'x64' : process.arch, // OS X is 64-bit only
'asar': {unpack: buildAsarUnpackGlobExpression()},
'build-version': CONFIG.appMetadata.version,
'download': {cache: CONFIG.electronDownloadPath},
'dir': CONFIG.intermediateAppPath,

View File

@@ -7,7 +7,6 @@ fs = require 'fs-plus'
{Emitter, CompositeDisposable} = require 'event-kit'
CompileCache = require './compile-cache'
ModuleCache = require './module-cache'
ScopedProperties = require './scoped-properties'
BufferedProcess = require './buffered-process'
@@ -42,7 +41,7 @@ class Package
@metadata ?= @packageManager.loadPackageMetadata(@path)
@bundledPackage = @packageManager.isBundledPackagePath(@path)
@name = @metadata?.name ? path.basename(@path)
ModuleCache.add(@path, @metadata)
# ModuleCache.add(@path, @metadata)
@reset()
###