File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ module.exports = function install() {
2424 // cleaning up
2525 return Promise . resolve ( ) ;
2626 }
27- if ( buildFlags . isElectron ) {
28- // If we're building for electron, we're unable to require things so we should
29- // just assume success, unfortunately.
27+ if ( buildFlags . isElectron || buildFlags . isNWjs ) {
28+ // If we're building for electron or NWjs , we're unable to require the
29+ // built library so we have to just assume success, unfortunately.
3030 return Promise . resolve ( ) ;
3131 }
3232
Original file line number Diff line number Diff line change @@ -14,5 +14,6 @@ module.exports = {
1414 debugBuild : ! ! process . env . BUILD_DEBUG ,
1515 isElectron : process . env . npm_config_runtime === "electron" ,
1616 isGitRepo : isGitRepo ,
17+ isNwjs : process . env . npm_config_runtime === "node-webkit" ,
1718 mustBuild : ! ! ( isGitRepo || process . env . BUILD_DEBUG || process . env . BUILD_ONLY )
1819} ;
You can’t perform that action at this time.
0 commit comments