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

Method installApp

src/plugins/linglong/gui/mainframe.cpp:367–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365}
366
367void MainFrame::installApp(const QString &appId)
368{
369 d->process.reset(new QProcess(this));
370 d->process->setProgram("ll-cli");
371 QStringList args;
372 args.append("install");
373 args.append(appId);
374 d->process->setArguments(args);
375
376 d->process->start();
377 d->process->waitForFinished();
378
379 updateInstalled();
380}
381
382void MainFrame::uninstallApp(const QString &appId)
383{

Callers

nothing calls this directly

Calls 5

resetMethod · 0.45
setProgramMethod · 0.45
appendMethod · 0.45
setArgumentsMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected