2015-12-02 163 views
0
  • 的Windows 8(64位)
  • ARC 46.5021.478.18
  • 应用程序运行Chrome浏览器(测试版)46.5021.478.18
  • Chrome的43.0。 2357.134(32位)

我遇到了与this post相同的问题,解决方法已解决应用程序未启动的问题。我很好奇长期解决方案是什么?我搜索了没有运气的错误报告。我很难过,因为没有任何变化,ARC,我的应用和Chrome版本自10月份以来没有更新,该应用几天前刚刚退出工作。我试过更新Chrome和ARC,仍然得到角度TypeError。ARC错误类型错误无法读取属性 '角度' gen_index.min.js

我的应用程序清单文件具有"orientation": "portrait"

我不使用相机在我的应用程序,有没有方法来禁用清单中的相机的应用程序,所以它甚至不跑的?

修复工作在我的系统上,但我有ARC和我的应用程序部署到大量的机器,我宁愿不手动修复它们,一些系统仍然工作正常。

第一次海报,我通常会冲刷论坛,找到我需要的答案。你的时间值得赞赏。

+0

不明白这一点,我有两台电脑(相同平台)下运行: - 铬47.0.2526.73(64) - 弧47.5021.508.9 同一圆弧应用信息复制到两个,一个系统作品一个没有。我得到这个不支持,但对我失踪或做错的基本指导,将不胜感激。 我希望有一些元数据我可以添加告诉ARC我的设备没有相机。尽管如此,我还没有找到类似的东西。 – Race4Keep

回答

0

我写了一个简短的powershell脚本来解决这个问题。不漂亮或花哨,但它的作品。我创建了此脚本的快捷方式并使用它来启动应用程序。如果ARC更新脚本,这种方法将使解决方法重新就位。 使用风险自负,显然这可能会在未来的更新中破坏事物。

#Setting up the variables 
$UserPath = $env:LOCALAPPDATA + "\Google\Chrome\User Data\Default\Extensions\mfaihdlpglflfgpfjcifdjdjcckigekc\" 
$File = "gen_index.min.js" 
$BrokeTxt = "angle:screen.orientation.angle" 
$FixedTxt = "angle:0" 

#finding the current ARC version 
$ARC = $UserPath + (GCI $UserPath | sort -descending | select -f 1) 

#Check the file - if broke fix 
$FullPath = $ARC + "\" + $File 
$CheckFile = Select-String -Path $FullPath -Pattern $BrokeTxt |measure 
If ($CheckFile.count -eq 1) 
    { 
     (Get-Content $FullPath).replace($BrokeTxt, $FixedTxt) | Set-Content $FullPath 
    } 

#Open Chrome App 
Start-Process chrome -ArgumentList '--enable-nacl --profile-directory=Default --app-id=*APPID*' 
相关问题