Corrected Linux Chrome bin path.
This commit is contained in:
parent
ae079c203d
commit
abc363c2c3
1 changed files with 2 additions and 3 deletions
|
@ -59,14 +59,13 @@ module.exports = function(grunt) {
|
|||
|
||||
var chrome = {
|
||||
win32: '"' + (process.env["ProgramFiles(x86)"] || process.env.ProgramFiles) + "\\Google\\Chrome\\Application\\chrome.exe" + '"',
|
||||
linux: "/opt/google/chrome",
|
||||
osx: ""
|
||||
linux: "/opt/google/chrome/chrome",
|
||||
osx: "Beats me."
|
||||
}
|
||||
|
||||
var cmd = [ chrome[process.platform] ];
|
||||
cmd.push("--pack-extension=" + path.join(here, "build/unpacked"));
|
||||
cmd.push("--pack-extension-key=" + path.join(here, "../Caret.pem"));
|
||||
//exec("echo %ProgramFiles%", console.log.bind(console));
|
||||
exec(cmd.join(" "),function(err, out, stderr) {
|
||||
if (err) {
|
||||
console.log(stderr);
|
||||
|
|
Loading…
Reference in a new issue