MCPcopy Create free account
hub / github.com/OneMoreGres/ScreenTranslator / checkInstall

Method checkInstall

src/service/updates.cpp:623–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621//
622
623void Installer::checkInstall(const File &file)
624{
625 QFileInfo installDir(QFileInfo(file.expandedPath).absolutePath());
626 if (installDir.exists() && !installDir.isWritable()) {
627 error_ +=
628 QApplication::translate("Updates", "Directory is not writable\n%1")
629 .arg(installDir.absolutePath());
630 }
631}
632
633void Installer::remove(const File &file)
634{

Callers 1

applyActionMethod · 0.80

Calls 1

translateFunction · 0.50

Tested by

no test coverage detected