Change-Id: Ie5292bedc917ab53fabef8db7a2a0d2cee9f3fad
std::string appid = runtime_cmd->GetAppIdFromCommandLine("/usr/bin/electron");
auto appdata_manager = common::ApplicationDataManager::GetInstance();
common::ApplicationData* app_data = appdata_manager->GetApplicationData(appid);
- std::string app_path = "file://" + app_data->application_path() + app_data->content_src();
+ // TODO: Use resource-manager's GetStartResource() for localized urls
+ std::string app_path = "file://" + app_data->application_path() + app_data->content_info()->src();
return app_path;
}
const std::string application_path() const { return application_path_; }
const std::string pkg_id() const;
const std::string app_id() const { return app_id_; }
- const std::string content_src() { return (content_info_.get())->src(); }
ApplicationData::AppType app_type() { return app_type_; }
private: