introduce ELECTRON_NO_ASAR
This commit is contained in:
parent
13f9a6c273
commit
656ee0d9c3
2 changed files with 5 additions and 1 deletions
|
@ -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]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue