MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / install

Method install

src/plugins/core/depend/aptinstaller.cpp:37–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void APTInstaller::install(const InstallInfo &info)
38{
39 if (!termSrv)
40 termSrv = dpfGetService(TerminalService);
41
42 QStringList args;
43 args << "install"
44 << info.packageList;
45
46 uiController.switchContext(TERMINAL_TAB_TEXT);
47 termSrv->executeCommand(info.plugin.isEmpty() ? "APTInstall" : info.plugin, "sudo apt", args, "", QStringList());
48}

Callers

nothing calls this directly

Calls 2

executeCommandMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected