diff --git a/.gitignore b/.gitignore index 4009bb4..517f350 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ Dockerfile debpkg/ build/ .vscode +.vs extra/ diff --git a/src/ChatDownloader.c b/src/ChatDownloader.c index 5666f98..09305b0 100644 --- a/src/ChatDownloader.c +++ b/src/ChatDownloader.c @@ -239,7 +239,7 @@ static void downloadBtnClicked(uiButton *b, void *data) { string *cmd = malloc(sizeof(string)); *cmd = (string){malloc(sizeof(char) * 100), 0, 100}; - concat(cmd, 4, getBinaryPath(), " -m ChatDownload -u '", chatOptions->id, "'"); + concat(cmd, 4, getBinaryPath(), " chatdownload -u '", chatOptions->id, "'"); if (uiCheckboxChecked(chatOptions->cropStartCheck)) { char seconds[12]; @@ -258,7 +258,7 @@ static void downloadBtnClicked(uiButton *b, void *data) { } if (uiCheckboxChecked(chatOptions->embedEmotes)) { - concat(cmd, 1, " --embed-emotes "); + concat(cmd, 1, " -E "); } concat(cmd, 2, " --temp-path ", getJson(configJson, "tempFolder")->valuestring); diff --git a/src/ChatRender.c b/src/ChatRender.c index 7e325fb..d0428ab 100644 --- a/src/ChatRender.c +++ b/src/ChatRender.c @@ -232,7 +232,7 @@ static void renderBtnClicked(uiButton *b, void *args) { string *cmd = malloc(sizeof(string)); *cmd = (string){malloc(sizeof(char) * 100), 0, 100}; - concat(cmd, 4, getBinaryPath(), " -m ChatRender -i \"", chatFile, "\" "); + concat(cmd, 4, getBinaryPath(), " chatrender -i \"", chatFile, "\" "); concat(cmd, 2, " --temp-path ", getJson(configJson, "tempFolder")->valuestring); uiFontDescriptor font; diff --git a/src/ClipDownloader.c b/src/ClipDownloader.c index 13467a9..87ce3dc 100644 --- a/src/ClipDownloader.c +++ b/src/ClipDownloader.c @@ -153,7 +153,7 @@ static void downloadBtnClicked(uiButton *b, void *data) { string *cmd = malloc(sizeof(string)); *cmd = (string){malloc(sizeof(char) * 100), 0, 100}; - concat(cmd, 3, getBinaryPath(), " -m ClipDownload -u ", clipOptions->id); + concat(cmd, 3, getBinaryPath(), " clipdownload -u ", clipOptions->id); concat(cmd, 2, " --temp-path ", getJson(configJson, "tempFolder")->valuestring); concat(cmd, 2, " -q ", qualityArray[uiComboboxSelected(clipOptions->qualities)]); concat(cmd, 3, " -o ", fileName, " 2>&1"); diff --git a/src/VodDownloader.c b/src/VodDownloader.c index f1b5ce8..85b12cc 100644 --- a/src/VodDownloader.c +++ b/src/VodDownloader.c @@ -221,7 +221,7 @@ static void downloadBtnClicked(uiButton *b, void *data) { string *cmd = malloc(sizeof(string)); *cmd = (string){malloc(sizeof(char) * 100), 0, 100}; - concat(cmd, 4, getBinaryPath(), " -m VideoDownload -u '", vodOptions->id, "'"); + concat(cmd, 4, getBinaryPath(), " videodownload -u '", vodOptions->id, "'"); concat(cmd, 2, " --temp-path ", getJson(configJson, "tempFolder")->valuestring); if (uiCheckboxChecked(vodOptions->cropStartCheck)) {