From 7adc6a0fc1e5a3748697ad795e8a757a7c5e30d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Thu, 8 Jul 2021 12:59:56 +0200 Subject: [PATCH] Fix bug : -o option not handled in acsmdownloader --- include/libgourou.h | 2 +- utils/acsmdownloader.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/libgourou.h b/include/libgourou.h index 4d482cb..f50f3ed 100644 --- a/include/libgourou.h +++ b/include/libgourou.h @@ -40,7 +40,7 @@ #define ACS_SERVER "http://adeactivate.adobe.com/adept" #endif -#define LIBGOUROU_VERSION "0.1" +#define LIBGOUROU_VERSION "0.1.1" namespace gourou { diff --git a/utils/acsmdownloader.cpp b/utils/acsmdownloader.cpp index ddc3dcb..98c63cd 100644 --- a/utils/acsmdownloader.cpp +++ b/utils/acsmdownloader.cpp @@ -82,7 +82,9 @@ public: else filename += ".epub"; } - + else + filename = outputFile; + if (outputDir) { QDir dir(outputDir);