PC应用端


应用增量更新重现实操

<p>例如,想要重现 编辑器TD_LabEditor 2.0.0 --&gt; 3.0.0 走增量更新</p> <p>1.接入小程序配置目录; 小程序目录下LabPlayer\Config\AppUpdateParamsConfig.json 修改(其它字段保持) Edit_LabPlayerParam &quot;AppCode&quot;: &quot;TD_LabEditor&quot;,</p> <p>2.编辑器应用包放入 小程序目录下LabPlayer\bin\ED_LabEditor\ 修改 conf.ini 中 (其它字段保持) AppVersion=2.0.0</p> <p>3.接入增量缓存目录 C:\Users{用户名}\AppData\Local\Temp\NetDragon\VLab_MainProgram\ (自己浏览器)从管理平台下载编辑器2.0.0版本文件到此目录,例如 TD_LabEditor_2.0.0.zip 修改pkgrecords.json(其它字段保持) ziprecords { &quot;TD<em>LabEditor</em><strong>2.0.0&quot;:</strong> { &quot;appcode&quot;: &quot;TD_LabEditor&quot;, &quot;version&quot;: <strong>&quot;2.0.0&quot;,</strong> &quot;md5&quot;: &quot;<strong>8adb882875e5d8838ce38aa09bb92595&quot;</strong>,//管理平台上有 &quot;filepath&quot;: &quot;<strong>C:/Users/{用户名}/AppData/Local/Temp/NetDragon/VLab_MainProgram/TD_LabEditor_2.0.0.zip</strong>&quot;, &quot;filelength&quot;: <strong>231449742 </strong>//TD_LabEditor_2.0.0.zip右键,属性大小字节 } } appversions { &quot;TD_LabEditor&quot;:<strong> &quot;2.0.0&quot;</strong> }</p> <p>4.重启小程序,立即更新</p> <p>5.识别更新类型 C:\Users{用户名}\AppData\Local\Temp\NetDragon\VLab_MainProgram\ 目录下出现 .patch 文件,说明走增量更新,该文件出现后很快就会消失(注意观察); 否则说明走全量更新;</p> <p>(备注:更新进度0-60下载增量包,60-80合并增量包,80-100替换增量包)</p> <p>6、检查增量包链接 <a href="https://vlab-service.sdp.101.com/v0.1/apps/latestVersion/VLab_MainProgram?from_version=2.2.0&status=ONLINE">https://vlab-service.sdp.101.com/v0.1/apps/latestVersion/VLab_MainProgram?from_version=2.2.0&status=ONLINE</a> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/3c7b27f0a8c1a1be46d24931e031c888" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/a2d7e1f53b3eae188f87b542dd922ba1" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/0eaf1c9b9e54a95c38f0f8bffdbc0f06" alt="" /></p>

页面列表

ITEM_HTML