diff --git a/install.cpp b/install.cpp index 43eda92..fe6f913 100644 --- a/install.cpp +++ b/install.cpp @@ -49,7 +49,7 @@ bool CInstallBinary::startInstall(const CmdResult& result) } std::string cmd("chmod +x " + temp_shell.string()); - std::system(cmd.c_str()); + std::cout << cmd << " Ret:" << std::system(cmd.c_str()) << std::endl; if (!write_file(desktop_tempte, temp_desktop.string())) { return false; @@ -57,7 +57,7 @@ bool CInstallBinary::startInstall(const CmdResult& result) cmd.clear(); cmd = "pkexec cp " + temp_desktop.string() + " /usr/share/applications"; - std::system(cmd.c_str()); + std::cout << cmd << " Ret:" << std::system(cmd.c_str()) << std::endl; return true; } \ No newline at end of file