#include <boost/algorithm/string/regex.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
+#include <boost/uuid/uuid.hpp>
+#include <boost/uuid/uuid_generators.hpp>
+#include <boost/uuid/uuid_io.hpp>
#include <Elementary.h>
#include "URIschemes.h"
}
std::string str_icon_src = m_manifestData.icons.begin()->src;
- auto result = str_icon_src.substr(str_icon_src.find_last_of("/"), str_icon_src.length());
- s_icon = DOWNLOAD_PATH + result;
+ s_icon = DOWNLOAD_PATH + boost::uuids::to_string(boost::uuids::random_generator()());
request_file_download(m_manifestData.icons.begin()->src, s_icon, __download_result_cb, nullptr);
if (m_manifestData.m_push_id.empty())