|
|
@ -42,6 +42,7 @@ static void upload_file(std::string logFile){
|
|
|
|
|
|
|
|
|
|
|
|
command += " | grep Location | cut -c11-";
|
|
|
|
command += " | grep Location | cut -c11-";
|
|
|
|
std::string url = exec(command);
|
|
|
|
std::string url = exec(command);
|
|
|
|
|
|
|
|
std::cout << "upload url: " << url;
|
|
|
|
exec("xdg-open " + url);
|
|
|
|
exec("xdg-open " + url);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -52,6 +53,7 @@ static void upload_files(const std::vector<std::string>& logFiles){
|
|
|
|
|
|
|
|
|
|
|
|
command += " | grep Location | cut -c11-";
|
|
|
|
command += " | grep Location | cut -c11-";
|
|
|
|
std::string url = exec(command);
|
|
|
|
std::string url = exec(command);
|
|
|
|
|
|
|
|
std::cout << "upload url: " << url;
|
|
|
|
exec("xdg-open " + url);
|
|
|
|
exec("xdg-open " + url);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|