返回列表 发帖

[其他内容] 如果TW6有发布周期...

能像Chrome生态链一样,
将包含 Chrome ID、分支、操作系统等信息的请求发给 Google ,比如 Chrome Dev 的请求像这样:
<?xml version="1.0" encoding="UTF-8"?><request protocol="3.0" version="1.3.21.69" ismachine="0" sessionid="{12345678-1234-1234-1234-123456789012}" installsource="ondemandcheckforupdate" requestid="{12345678-1234-1234-1234-123456789012}"><os platform="win" version="6.1" sp="Service Pack 1" arch="x86"/><app appid="{4DC8B4CA-1BDA-483E-B5FA-D3C12E15B62D}" version="" nextversion="" ap="2.0-dev" lang="" brand="GGLS" client=""><updatecheck/><ping active="1"/></app></request>
Google 服务器会返回这样的信息:
<?xml version="1.0" encoding="UTF-8"?><response protocol="3.0" server="prod"><daystart elapsed_seconds="15503"/><app appid="{4DC8B4CA-1BDA-483E-B5FA-D3C12E15B62D}" status="ok"><updatecheck status="ok"><urls><url codebase="http://cache.pack.google.com/edgedl/chrome/install/904.0/"/></urls><manifest version="16.0.904.0"><packages><package hash="Y5tvFVhYIrEOT3t5S7JETl/NFFo="name="chrome_installer.exe" required="true" size="24086584"/></packages><actions><action arguments="--multi-install --do-not-launch-chrome" event="install" run="chrome_installer.exe"/><action Version="16.0.904.0" event="postinstall" onsuccess="exitsilentlyonlaunchcmd"/></actions></manifest></updatecheck><ping status="ok"/></app></response>
可得知 DEV 最新版本号 16.0.904.0,得到下载地址http://cache.pack.google.com/edg ... hrome_installer.exe

同样的原理,本人正在琢磨如何制作可自动更新tw6便携版引导器发给大家

返回列表