using namespace WrtDB;
namespace {
-const std::string LABEL_NEW_LINE = "<br>";
-const std::string LABEL_NEW_LINE_2 = "<br><br>";
-const std::string UNTRUSTED_WIDGET = "It is an Untrusted Widget";
-const char *QUESTION = "Do you wanto to install?";
WidgetCertificateData toWidgetCertificateData(const SignatureData &data,
bool root)
result = validator.check(data, widgetPath);
if (m_contextData.widgetConfig.packagingType
- == WrtDB::PKG_TYPE_DIRECTORY_WEB_APP)
+ == WrtDB::PKG_TYPE_DIRECTORY_WEB_APP ||
+ m_contextData.job->getInstallerStruct().m_installMode
+ == InstallMode::INSTALL_MODE_PRELOAD)
{
// In directory installation mode, the validation is skipped.