From e3d7ab9539e6e34e50f79eefe249d2b665fc40d7 Mon Sep 17 00:00:00 2001 From: Sanghyup Lee Date: Wed, 18 Oct 2017 17:56:32 +0900 Subject: [PATCH] fixup! [Bringup] Guard non implemented parts in init.js This patch loads chrome-extension. Change-Id: Ie1fce7505be27c41bd2974616ff60c8b158a4f52 Signed-off-by: Sanghyup Lee --- lib/browser/init.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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. -- 2.7.4