From: Sanghyup Lee Date: Wed, 18 Oct 2017 08:56:32 +0000 (+0900) Subject: fixup! [Bringup] Guard non implemented parts in init.js X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3d7ab9539e6e34e50f79eefe249d2b665fc40d7;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git fixup! [Bringup] Guard non implemented parts in init.js This patch loads chrome-extension. Change-Id: Ie1fce7505be27c41bd2974616ff60c8b158a4f52 Signed-off-by: Sanghyup Lee --- diff --git a/lib/browser/init.js b/lib/browser/init.js index e482456..b9fe447 100644 --- a/lib/browser/init.js +++ b/lib/browser/init.js @@ -146,14 +146,15 @@ if (packageJson.v8Flags != null) { } // Set the user path according to application's name. -// FIXME: This is guard for bringup. -//app.setPath('userData', path.join(app.getPath('appData'), app.getName())) -//app.setPath('userCache', path.join(app.getPath('cache'), app.getName())) +// FIXME: use app.getPath('cache') instead of app.getPath('appData'). +// This is for bringup. +// app.setPath('userData', path.join(app.getPath('appData'), app.getName())) +app.setPath('userData', path.join(app.getPath('cache'), app.getName())) +app.setPath('userCache', path.join(app.getPath('cache'), app.getName())) app.setAppPath(packagePath) // Load the chrome extension support. -// FIXME: This is guard for bringup. -//require('./chrome-extension') +require('./chrome-extension') // Load internal desktop-capturer module. // FIXME: This is guard for bringup.