Support for real harddrive and Jmicron usb drives

This commit is contained in:
Marc
2021-12-04 23:02:31 +01:00
parent 1024e96ebc
commit 53441d5b9d
17 changed files with 333 additions and 152 deletions
@@ -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];