From 33f5cdd7b3fa007fd5dbfc32c09dd3ab1f9f8687 Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Fri, 2 Jun 2017 11:37:44 -0700 Subject: [PATCH] Put Shell scripts outside of ASAR --- script/lib/include-path-in-packaged-app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/lib/include-path-in-packaged-app.js b/script/lib/include-path-in-packaged-app.js index 71daaa0bd..ae785ccba 100644 --- a/script/lib/include-path-in-packaged-app.js +++ b/script/lib/include-path-in-packaged-app.js @@ -59,6 +59,10 @@ const EXCLUDE_REGEXPS_SOURCES = [ // Ignore *.cc and *.h files from native modules escapeRegExp(path.sep) + '.+\\.(cc|h)$', + // Shell scripts need to be outside of ASAR because Git will call them + // directly + escapeRegExp(path.join('node_modules', 'github', 'bin')), + // Ignore build files escapeRegExp(path.sep) + 'binding\\.gyp$', escapeRegExp(path.sep) + '.+\\.target.mk$',