diff --git a/src/app.cpp b/src/app.cpp index 3e47552..d9a289b 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -163,7 +163,7 @@ void App::download(std::string filename, std::function progress) { auto dest = data_path + "/" + filename; FILE* fp = fopen(dest.c_str(), "wb"); - std::string url = "http://omigamedev.com/panopainter/cloud/cloud-dwl.php?file=" + filename; + std::string url = "https://panopainter.com/cloud/cloud-dwl.php?file=" + filename; curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); curl_easy_setopt(curl, CURLOPT_WRITEDATA, fp); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, curl_data_write); @@ -181,6 +181,9 @@ void App::download(std::string filename, std::function progress) bool App::check_license() { + return true; // TODO: for distribuiton only + +/* CURL *curl = curl_easy_init(); if (curl) { @@ -205,6 +208,7 @@ bool App::check_license() return true; } return false; +*/ } void App::upload(std::string filename, std::string name, std::function progress) @@ -227,7 +231,7 @@ void App::upload(std::string filename, std::string name, std::function