First verstion of app with megrating to real server

This commit is contained in:
Hepatica
2024-08-09 23:35:51 +02:00
parent 29f3339f2c
commit c9e963d0a8
2 changed files with 5 additions and 2 deletions

View File

@@ -32,7 +32,8 @@ public:
//std::string command = R"(powershell -Command "& \"C:\Program Files\WinRAR\WinRAR.exe\" x \")" + file_path + R"(\" \")" + final_files_directory + R"(\")";
//Linux version
std::string command = "unzip " + file_path + " -d " + final_files_directory;
//std::string command = "unzip " + file_path + " -d " + final_files_directory;
std::string command = "unrar x" + file_path + " " + final_files_directory;
std::thread commandThread(&CommandService::execute_command, command);