drivelist
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -1,2 +0,2 @@ | ||
var child_process, path, scriptsPath, _; | ||
var child_process, os, path, scriptsPath, _; | ||
@@ -11,12 +11,14 @@ _ = require('lodash'); | ||
os = require('os'); | ||
scriptsPath = path.join(__dirname, '..', 'scripts'); | ||
exports.paths = { | ||
win32: "cscript \"" + (path.join(scriptsPath, 'win32.vbs')) + "\" //Nologo", | ||
darwin: path.join("\"" + scriptsPath + "\"", 'darwin.sh'), | ||
linux: path.join("\"" + scriptsPath + "\"", 'linux.sh') | ||
win32: path.join(scriptsPath, 'win32.bat'), | ||
darwin: path.join(scriptsPath, 'darwin.sh'), | ||
linux: path.join(scriptsPath, 'linux.sh') | ||
}; | ||
exports.run = function(script, callback) { | ||
return child_process.exec(script, function(error, stdout, stderr) { | ||
return child_process.execFile(script, function(error, stdout, stderr) { | ||
if (error != null) { | ||
@@ -23,0 +25,0 @@ return callback(error); |
ChangeLog | ||
--------- | ||
### v2.0.4 | ||
- Support running inside Electron. | ||
### v2.0.3 | ||
@@ -5,0 +9,0 @@ |
{ | ||
"name": "drivelist", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "List all connected drives in your computer, in all major operating systems", | ||
@@ -5,0 +5,0 @@ "main": "build/drivelist.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27259
226