【问题标题】:Visual Studio Cordova tools using Google Canary使用 Google Canary 的 Visual Studio Cordova 工具
【发布时间】:2014-11-19 19:33:30
【问题描述】:

我正在尝试为 Cordova 使用 Visual Studio 工具,但部署到 Ripple 失败,提示“必须安装 Chrome 才能在 Ripple 中启动应用程序”。我正在使用谷歌浏览器金丝雀。是否有可以覆盖 Google Chrome 标准搜索的设置?

【问题讨论】:

    标签: google-chrome ripple visual-studio-cordova


    【解决方案1】:

    您可以更改以下 reg 键以指向自定义位置,例如 Chrome Canary 应用程序位置“C:\Users[username]\AppData\Local\Google\Chrome SxS\Application\chrome.exe” HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome\shell\open\command

    【讨论】:

    • 我没有那个键,因为 Chrome 标准不存在。我添加它并验证 VS 正在使用 Process Monitor 读取值,但它仍然显示相同的消息。如果我删除他们的关键 VS 不会寻找它。看来 VS 只是在 HKCU 和 HKLM 下走 StartMenuInternet 键,它在 HKCU 中找到了 Canary 并且似乎正在检查 Canary 的 chrome.exe。
    • 目前 Visual Studio 会查看文件路径 %PROGRAMFILES%\Google\Chrome\Application\chrome.exe 或以下 reg 值来确定是否安装了 Chrome - a. ) HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe b.) HKLM\SOFTWARE\Clients\StartMenuInternet\Google Chrome\shell\open\command c.) HKCU\Software\Microsoft\Windows\CurrentVersion\App路径\chrome.exe
    【解决方案2】:

    尝试更改寄存器值 注册位置:HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome 将“(默认)”的值从“Chrome”更改为“Google Chrome”

    详细信息写在我的博客中,但是,用韩语写的。

    http://hyunjong-lee.github.io/tech/2015/02/04/Apache_Cordova.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-10-03
      • 1970-01-01
      • 2015-10-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多