introduce ELECTRON_NO_ASAR

This commit is contained in:
Benjamin Pasero 2016-10-04 10:39:05 +02:00 committed by Kevin Sawicki
parent 13f9a6c273
commit 656ee0d9c3
2 changed files with 5 additions and 1 deletions

View file

@ -34,7 +34,7 @@
// Separate asar package's path from full path.
const splitPath = function (p) {
// shortcut to disable asar.
if (process.noAsar) {
if (process.noAsar || process.env.ELECTRON_NO_ASAR) {
return [false]
}