diff options
Diffstat (limited to 'node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html')
| -rw-r--r-- | node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html b/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html deleted file mode 100644 index 244466c..0000000 --- a/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html +++ /dev/null @@ -1,26 +0,0 @@ -<!doctype html> -<html> -<head> -<meta charset="utf-8"> -<title>Node-webkit-based module test</title> -<script> -function nwModuleTest(){ - var util = require('util'); - var moduleFolder = require('nw.gui').App.argv[0]; - try { - require(moduleFolder); - } catch(e) { - if( process.platform !== 'win32' ){ - util.log('nw-pre-gyp error:'); - util.log(e.stack); - } - process.exit(1); - } - process.exit(0); -} -</script> -</head> -<body onload="nwModuleTest()"> -<h1>Node-webkit-based module test</h1> -</body> -</html> |