Support for real harddrive and Jmicron usb drives
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
586,591d585
|
||||
< } else if (typeof options.shell === 'string') {
|
||||
< file = '/bin/executor';
|
||||
< args = [ options.shell, '-c', command];
|
||||
< } else if (process.platform === 'android') {
|
||||
< file = '/system/bin/sh';
|
||||
< args = ['-c', command];
|
||||
593,594c587,593
|
||||
< file = '/bin/executor';
|
||||
< args = command.split(' ');
|
||||
---
|
||||
> if (typeof options.shell === 'string')
|
||||
> file = options.shell;
|
||||
> else if (process.platform === 'android')
|
||||
> file = '/system/bin/sh';
|
||||
> else
|
||||
> file = '/bin/sh';
|
||||
> args = ['-c', command];
|
||||
Reference in New Issue
Block a user