Skip to content

Instantly share code, notes, and snippets.

@jouyouyun
Created July 11, 2016 07:59
Show Gist options
  • Save jouyouyun/a5f5fa94a1c3a872f52d193039617559 to your computer and use it in GitHub Desktop.
Save jouyouyun/a5f5fa94a1c3a872f52d193039617559 to your computer and use it in GitHub Desktop.
Offline update plan

TODO

  1. 提供下载所有更新包的接口,见 cl 13403,这个 cl 里的其它改变去掉
  2. 在 lastore-daemon 中提供一个属性来表示所有更新包是否已下载的状态,然后在定时任务中去更新这个属性
  3. 在 lastore-session-helper 发送更新通知之前,先去获取 2 中属性的值,如果所有更新包都已下载,则不发送通知
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment