【问题标题】:Is there a way to specify which browser heroku uses with `heroku open`?有没有办法指定 heroku 与 `heroku open` 一起使用的浏览器?
【发布时间】:2014-07-31 20:48:40
【问题描述】:

在带有运行heroku openheroku apps:open 的heroku 应用程序的文件夹中,将使用firefox 打开页面。我的默认浏览器是 google-chrome 并且正在运行:

xdg-open http://www.google.com

打开这个。有没有办法设置heroku打开正确的默认浏览器? (我在互联网上或通过heroku help open 找不到任何有用的帮助)

【问题讨论】:

  • 我也想知道这个...

标签: heroku-toolbelt


【解决方案1】:

仅在我添加了 BROWSER 环境变量后才为我工作:

$ export BROWSER=chromium-browser

但是,在 Windows 中,这可能是另一种方式。

【讨论】:

  • 没错,刚刚看到这个。 Here is a page 概述了该技巧和其他 heroku 技巧。
猜你喜欢
  • 1970-01-01
  • 2020-04-08
  • 2012-08-10
  • 2023-02-03
  • 2022-06-23
  • 2012-09-10
  • 1970-01-01
  • 1970-01-01
  • 2015-05-23
相关资源
最近更新 更多