bug fixes

This commit is contained in:
Itamar Oren
2023-02-26 19:14:52 -05:00
parent 1020faa2c9
commit d181f2bdcd
3 changed files with 4 additions and 33 deletions
-3
View File
@@ -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']