mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Create the datadirectory to not fail to write the aria2 session file.
Fix kiwix/kiwix-desktop#69
This commit is contained in:
@ -26,6 +26,7 @@ Aria2::Aria2():
|
||||
m_lock(PTHREAD_MUTEX_INITIALIZER)
|
||||
{
|
||||
m_downloadDir = getDataDirectory();
|
||||
makeDirectory(m_downloadDir);
|
||||
std::vector<const char*> callCmd;
|
||||
|
||||
std::string rpc_port = "--rpc-listen-port=" + to_string(m_port);
|
||||
|
Reference in New Issue
Block a user