Updated dockerfile to move TwitchDownloaderCLI to /usr/local/bin

Fixed issue that prevented TwitchDownloader from working in windows
This commit is contained in:
Tzahi12345
2023-05-03 14:04:09 -04:00
parent 18fcf4eb61
commit ec3bb3e738
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ async function getCommentsForVOD(vodId) {
return null;
}
const result = await exec(`TwitchDownloaderCLI chatdownload -u ${vodId} -o appdata/${vodId}.json`, {stdio:[0,1,2]});
const result = await exec(`${cliPath} chatdownload -u ${vodId} -o appdata/${vodId}.json`, {stdio:[0,1,2]});
if (result['stderr']) {
logger.error(`Failed to download twitch comments for ${vodId}`);