From ea879340c02f1afae7f5e19288fa3607aaed7b34 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Fri, 24 Feb 2017 16:36:16 +0100 Subject: [PATCH] WIP --- script/build | 2 +- script/lib/package-application.js | 1 - src/package.coffee | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/script/build b/script/build index 376067000..376550f3f 100755 --- a/script/build +++ b/script/build @@ -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') diff --git a/script/lib/package-application.js b/script/lib/package-application.js index 1e63b8dc0..8c4127b4f 100644 --- a/script/lib/package-application.js +++ b/script/lib/package-application.js @@ -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, diff --git a/src/package.coffee b/src/package.coffee index 63efbf02c..e34c70981 100644 --- a/src/package.coffee +++ b/src/package.coffee @@ -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() ###