Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
906b8a3733 | ||
|
|
c32230f27d | ||
|
|
06297aa6f0 | ||
|
|
2d4a5c992c | ||
|
|
1abb470819 |
@@ -86,6 +86,8 @@ other variables are DESTDIR and PREFIX to handle destination install directory
|
||||
Utils
|
||||
-----
|
||||
|
||||
!!Warning!! : When activating a new device (with _adept\_activate_), Adobe ID accounts are deprecated. You need to sign in with a (dts) ByteBooks account.
|
||||
|
||||
First, add libgourou.so to your LD_LIBRARY_PATH
|
||||
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@
|
||||
#define ACS_SERVER "https://adeactivate.adobe.com/adept"
|
||||
#endif
|
||||
|
||||
#define LIBGOUROU_VERSION "0.8.9"
|
||||
#define LIBGOUROU_VERSION "0.8.10"
|
||||
|
||||
namespace gourou
|
||||
{
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
|
||||
#define _XOPEN_SOURCE 700
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
|
||||
@@ -88,7 +88,11 @@ public:
|
||||
filename = std::string(inputFile);
|
||||
|
||||
if (outputDir)
|
||||
filename = std::string(outputDir) + "/" + filename;
|
||||
{
|
||||
char* basepath = strdup(inputFile);
|
||||
filename = std::string(outputDir) + "/" + basename(basepath);
|
||||
free(basepath);
|
||||
}
|
||||
}
|
||||
|
||||
if (endsWith(filename, ".epub"))
|
||||
|
||||
@@ -261,6 +261,9 @@ std::string DRMProcessorClientImpl::sendHTTPRequest(const std::string& URL, cons
|
||||
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, list);
|
||||
curl_easy_setopt(curl, CURLOPT_COOKIEJAR, cookiejar);
|
||||
|
||||
if (getenv("SSL_CERT_FILE") != NULL)
|
||||
curl_easy_setopt(curl, CURLOPT_CAINFO, getenv("SSL_CERT_FILE"));
|
||||
|
||||
if (POSTData.size())
|
||||
{
|
||||
curl_easy_setopt(curl, CURLOPT_POST, 1L);
|
||||
|
||||
Reference in New Issue
Block a user