From: surya.kumar7 Date: Thu, 1 Mar 2018 15:41:39 +0000 (+0530) Subject: Electron doesn't have a config file to parse X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b51a6c7345ee4141cc08233d2463ce8ec508cd8;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Electron doesn't have a config file to parse config.xml is not present for electron-efl which is unintentionally regarded as a terminal failure and app exits Change-Id: I781a854956c2931bf8492b8f4614438262afe802 Signed-off-by: surya.kumar7 --- diff --git a/atom/app/atom_main.cc b/atom/app/atom_main.cc index c71f3dd..522e499 100644 --- a/atom/app/atom_main.cc +++ b/atom/app/atom_main.cc @@ -166,10 +166,12 @@ int main(int argc, char* argv[]) { std::string appid = runtime_cmd->GetAppIdFromCommandLine("/usr/bin/electron"); // load manifest - auto appdata_manager = common::ApplicationDataManager::GetInstance(); - common::ApplicationData* appdata = appdata_manager->GetApplicationData(appid); - if (!appdata->LoadManifestData()) { - return false; + if (appid != "electron") { // TODO: Any better way to distinguish? + auto appdata_manager = common::ApplicationDataManager::GetInstance(); + common::ApplicationData* appdata = appdata_manager->GetApplicationData(appid); + if (!appdata->LoadManifestData()) { + return false; + } } if (efl::Initialize(argc, const_cast(argv)))