xmlTextWriterWriteAttribute(writer, BAD_CAST "appid", BAD_CAST app->appid);
// binary is a symbolic link named <appid> and is located in <pkgid>/<appid>
- bf::path exec_path = context_->pkg_path.get()
+ bf::path exec_path = context_->GetPkgPath()
/ bf::path("bin") / bf::path(app->appid);
xmlTextWriterWriteAttribute(writer, BAD_CAST "exec",
BAD_CAST exec_path.string().c_str());
if (!WriteWidgetApplicationAttributesAndElements(writer, app,
static_cast<WgtBackendData*>(
context_->backend_data.get())->appwidgets.get(),
- context_->pkg_path.get() / "shared" / "res"))
+ context_->GetPkgPath() / "shared" / "res"))
return Status::MANIFEST_ERROR;
break;
case AppCompType::WATCHAPP:
}
void StepGenerateXml::GenerateTrustAnchor(xmlTextWriterPtr writer) {
- if (!context_->manifest_data.get()->pkg_certs_dir ||
- !context_->manifest_data.get()->use_system_certs)
+ if (!context_->manifest_data.get()->use_system_certs)
return;
xmlTextWriterStartElement(writer, BAD_CAST "trust-anchor");
- xmlTextWriterWriteAttribute(writer, BAD_CAST "pkg-certs-dir",
- BAD_CAST context_->manifest_data.get()->pkg_certs_dir);
-
xmlTextWriterWriteAttribute(writer, BAD_CAST "use-system-certs",
BAD_CAST context_->manifest_data.get()->use_system_certs);