diff --git a/.gitignore b/.gitignore index 675269b24..9b0e2a913 100644 --- a/.gitignore +++ b/.gitignore @@ -74,5 +74,6 @@ doc/html/* # union code gen .unioncode *.unioncode +.cursor/ .cursorindexingignore -.specstory +.specstory/ diff --git a/src/plugins/debugger/reversedebug/reversedebugger.cpp b/src/plugins/debugger/reversedebug/reversedebugger.cpp index 46d14f126..7f36fd357 100644 --- a/src/plugins/debugger/reversedebug/reversedebugger.cpp +++ b/src/plugins/debugger/reversedebug/reversedebugger.cpp @@ -156,11 +156,6 @@ void installRR(const QString &id) if (id == "apt") { auto windowService = dpfGetService(dpfservice::WindowService); windowService->installPackages(ReverseDebugger::tr("Reverse debugger"), "apt", { "rr" }, nullptr); - } else if (id == "wget") { - auto terminalService = dpfGetService(dpfservice::TerminalService); - auto command = "cd /tmp && wget https://github.com/rr-debugger/rr/releases/download/5.5.0/rr-5.5.0-Linux-x86_64.deb && sudo dpkg -i rr-5.5.0-Linux-x86_64.deb"; - uiController.switchContext(dpfservice::TERMINAL_TAB_TEXT); - terminalService->sendCommand(command); } } @@ -176,7 +171,7 @@ bool ReverseDebugger::checkRRInstalled() auto windowService = dpfGetService(dpfservice::WindowService); QString message = tr("Can not find rr debugger, please install it first. " "If installation is not possible or the software does not work after installation, you can try installing a higher version of rr through GitHub and then attempt to use it."); - windowService->notifyWithCallback(0, tr("Reverse Debug"), message, QStringList{"apt", tr("Install by apt"), "wget", tr("Install by Wget")}, installRR); + windowService->notifyWithCallback(0, tr("Reverse Debug"), message, QStringList{"apt", tr("Install by apt")}, installRR); process.close(); return false; }