mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
WIP
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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()
|
||||
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user