mirror of
https://github.com/ION606/ion-cli.git
synced 2026-05-14 22:16:56 +00:00
bug fixes
This commit is contained in:
@@ -5,10 +5,7 @@ import chalk from 'chalk';
|
||||
export default async function donwloadFromStream(url, newpath) {
|
||||
try {
|
||||
const vpath = await getJSON("vpath");
|
||||
const command = `${vpath} ${url}`;
|
||||
// start "C:\Program Files\VideoLAN\VLC\vlc.exe" url
|
||||
console.log(chalk.green('done! Hit enter to watch!'));
|
||||
console.log(command);
|
||||
|
||||
execFileSync(vpath, [url], {
|
||||
stdio: ['ignore']
|
||||
|
||||
Reference in New Issue
Block a user