Windows 8 Build 7777.0.fbl grfx.100708-2000:修订间差异

跳转到导航 跳转到搜索
第 110 行: 第 110 行:
由于发现服务(Discovery Service),Windows 应用商店现在在启动时显示两个新字符串 —— <code>offline.htm?id=5</code> 和 <code>offline.htm?id=6</code>。前者字符串显示“Loading the Windows Store(正在加载 Windows 应用商店)”,当应用等待发现服务时会出现,而后者字符串显示“The Windows Store could not be contacted, please try again shortly.(无法联系 Windows 应用商店,请稍后重试。)”,当无法访问发现服务时显示。可以使用 <code>winstore.ini</code> 文件中的 <code>NoWaitOnDiscovery</code> 参数来禁用此加载屏幕,从而使应用在启动时尝试打开 <code>whats-fresh.htm</code> 页面(由于缺少 <code>paulke86</code> 服务器资源,这显然会失败,从而显示之前在 Build 7776 中看到的“Your computer is offline. [...](你的计算机处于离线状态。[...])”消息作为替代)。在 <code>WinStoreUI.dll.mui</code> 文件中,还可以看到额外的 <code>offline.htm?id=7</code> 字符串,内容为:“The Windows Store has encountered a problem and must close(Windows 应用商店遇到问题,必须关闭)”,尽管 <code>WinStoreUI.dll</code> 库没有任何显示它的代码。应用的用户界面与 Build 7776 相比保持不变,只是如果应用商店内容超出屏幕,滚动条将不再显示。
由于发现服务(Discovery Service),Windows 应用商店现在在启动时显示两个新字符串 —— <code>offline.htm?id=5</code> 和 <code>offline.htm?id=6</code>。前者字符串显示“Loading the Windows Store(正在加载 Windows 应用商店)”,当应用等待发现服务时会出现,而后者字符串显示“The Windows Store could not be contacted, please try again shortly.(无法联系 Windows 应用商店,请稍后重试。)”,当无法访问发现服务时显示。可以使用 <code>winstore.ini</code> 文件中的 <code>NoWaitOnDiscovery</code> 参数来禁用此加载屏幕,从而使应用在启动时尝试打开 <code>whats-fresh.htm</code> 页面(由于缺少 <code>paulke86</code> 服务器资源,这显然会失败,从而显示之前在 Build 7776 中看到的“Your computer is offline. [...](你的计算机处于离线状态。[...])”消息作为替代)。在 <code>WinStoreUI.dll.mui</code> 文件中,还可以看到额外的 <code>offline.htm?id=7</code> 字符串,内容为:“The Windows Store has encountered a problem and must close(Windows 应用商店遇到问题,必须关闭)”,尽管 <code>WinStoreUI.dll</code> 库没有任何显示它的代码。应用的用户界面与 Build 7776 相比保持不变,只是如果应用商店内容超出屏幕,滚动条将不再显示。


A new Commerce API has been added, which serves the purpose of managing payment-related tasks, like buying apps or managing payment info. This API does not use the Discovery Service, and is used by the later mentioned PDP page. The API always contacts the internal server of <code>sikwan3.redmond.corp.microsoft.com</code>, with the API endpoints for it being: <code>/Commerce/DefaultPI</code>, <code>/Commerce/Purchase/<product GUID></code>, <code>/Commerce/FinalPrice/p/<product GUID>/t/<count></code> and <code>/Commerce/FinalPrice/p/<product GUID>/t/<count>/pi/<payment info></code>. It has been speculated that the <code><count></code> value in this context means the amount of licenses for the app that the user wants to buy, even though the value of such is always set to <code>1</code>. The API also expects an XML response if the status HTTP 200 is returned, just like the Discovery Service.新增了一个 Commerce API(商务 API),用于管理与支付相关的任务,比如购买应用或管理支付信息。此 API 不使用 Discovery Service,并由后面提到的 PDP 页面使用。此 API 始终联系内部服务器 sikwan3.redmond.corp.microsoft.com,其 API 端点为:/Commerce/DefaultPI、/Commerce/Purchase/<product GUID>、/Commerce/FinalPrice/p/<product GUID>/t/<count> 以及 /Commerce/FinalPrice/p/<product GUID>/t/<count>/pi/<payment info>。有人推测此处的 <count> 值表示用户想要购买的应用许可证数量,尽管此值总是设置为 1。此 API 还期望在返回 HTTP 200 状态时获取 XML 响应,就像 Discovery Service 一样。
新增了一个 Commerce API(商务 API),用于管理与支付相关的任务,比如购买应用或管理支付信息。此 API 不使用 Discovery Service,并由后面提到的 PDP 页面使用。此 API 始终联系内部服务器 <code>sikwan3.redmond.corp.microsoft.com</code>,其 API 端点为:<code>/Commerce/DefaultPI</code>、<code>/Commerce/Purchase/<product GUID></code>、<code>/Commerce/FinalPrice/p/<product GUID>/t/<count></code> 以及 <code>/Commerce/FinalPrice/p/<product GUID>/t/<count>/pi/<payment info></code>。有人推测此处的 <code><count></code> 值表示用户想要购买的应用许可证数量,尽管此值总是设置为 <code>1</code>。此 API 还期望在返回 HTTP 200 状态时获取 XML 响应,就像 Discovery Service 一样。


Unlike build 7776, a user agent string is present inside the code for the app - the code specifies that the application uses WinHTTP (specifically to make API calls), and that the user agent for the app is <code>Windows Store/1.0</code>, symbolizing that the version of the Windows Store found in these builds is <code>1.0</code>.
与 Build 7776 不同,应用代码中存在用户代理字符串——代码指定此应用使用 WinHTTP(特别是用于进行 API 调用),且应用的用户代理为 <code>Windows Store/1.0</code>,这表明这些版本中 Windows 应用商店的版本为 <code>1.0</code>。


A new version of the Product Description Page (PDP) has been implemented. This PDP utilizes a seperate <code>PDP.html</code> file rather than <code>whats-fresh.htm?pdp=</code>, and unlike the <code>.htm</code>, it opens up in a seperate window in the middle of the app. The old page is still present in the code at this point of development, and can be initiated via the <code>/product <product GUID></code> <code>WinStore.exe</code> argument. The new page is functional, and using the aforementioned argument, the application opens both the old and the new pages at the same time.
产品描述页面(PDP)的新版本已经上线。这个 PDP 使用了独立的 <code>PDP.html</code> 文件,而不是 <code>whats-fresh.htm?pdp=</code>,并且与 <code>.htm</code> 文件不同,它会在应用的中间以单独窗口打开。旧页面在当前开发阶段仍然存在于代码中,可以通过 <code>/product <product GUID></code> <code>WinStore.exe</code> 参数启动。新页面已经可以正常使用,并且使用前述参数,应用可以同时打开旧页面和新页面。


The application’s code includes ten seperate app GUIDs. These GUIDs were likely used along with the <code>/product</code> or <code>/purchase</code> commands (for example, <code>/product {A2390ECB-C7DB-45D5-8934-D17E425BFCF5}</code>) to check the dialogs of each specific application. Additionally, the remnants of the sample "Crossword Magic" game have been completely removed from the <code>WinStoreUI.dll</code> library.
此应用代码包含十个独立的应用 GUID。这些 GUID 可能是与 <code>/product</code> 或 <code>/purchase</code> 命令一起使用的(例如,<code>/product {A2390ECB-C7DB-45D5-8934-D17E425BFCF5}</code>),以查看每个特定应用的对话框。此外,示例“Crossword Magic”游戏的残留部分从 <code>WinStoreUI.dll</code> 库中完全删除。
<gallery>
<gallery>
Win8-7777-WindowsStore-Loading.png|"Loading the Windows Store." (<code>offline.htm?id=5</code>) dialog upon startup
Win8-7777-WindowsStore-Loading.png|启动时出现“Loading the Windows Store.(正在加载 Windows 商店。)”(<code>offline.htm?id=5</code>)对话框
Win8-7777-WindowsStore-ConnectionError.png|Ditto, connection error (<code>offline.htm?id=6</code>)
Win8-7777-WindowsStore-ConnectionError.png|同上一个,连接错误(<code>offline.htm?id=6</code>)
Win8-7776-WindowsStore.png|Ditto, previous dialog in build 7776
Win8-7776-WindowsStore.png|同上一个,Build 7776 中的前一个对话
Win8-7777-WinStore-PDPNewNoCustom-1920x1080.png|New and old PDP pages launched via <code>/product</code> (<code>1920x1080</code> resolution)
Win8-7777-WinStore-PDPNewNoCustom-1920x1080.png|通过 <code>/product</code> 启动的新旧 PDP 页面(<code>1920×1080</code> 分辨率)
Win8-7777-WinStore-PDPNewNoCustom-1366x768.png|Ditto, at <code>1366x768</code> resolution
Win8-7777-WinStore-PDPNewNoCustom-1366x768.png|同上一个,分辨率为 <code>1366×768</code>
Win8-7777-WinStore-PDPNewCustom-1920x1080.png|Sample custom HTML file demonstrating the new PDP page
Win8-7777-WinStore-PDPNewCustom-1920x1080.png|演示新产品详情页的自定义示例 HTML 文件
Win8-7777-WinStore-PDPNewCustom-1366x768.png|Ditto, at <code>1366x768</code> resolution
Win8-7777-WinStore-PDPNewCustom-1366x768.png|同上一个,分辨率为 <code>1366×768</code>
</gallery>
</gallery>


导航菜单