Giter Club home page Giter Club logo

Comments (5)

cnsnake11 avatar cnsnake11 commented on August 22, 2024 2

您好,如楼上所说,assets部分的文件,会挨个文件进行比对,找出新增和修改过的文件,其中修改过的判断是通过文件的md5进行的。。。增量包中会包含新增和修改过的文件。

from blog.

cnsnake11 avatar cnsnake11 commented on August 22, 2024 1

我们没有用codepush,是自己实现的升级系统。
app拿到增量包之后,直接将增量包中的asserts文件夹和文件覆盖到本地版本的asserts文件夹上,就得到了最新版本的asserts文件夹。

from blog.

xiaxiazhu avatar xiaxiazhu commented on August 22, 2024

增量只是打包js bundle ,那assets部分呢?

from blog.

luoyjx avatar luoyjx commented on August 22, 2024

md5算法对比

from blog.

xiaxiazhu avatar xiaxiazhu commented on August 22, 2024

@cnsnake11 @luoyjx 多谢,还有个问题,就是,
image
我们的打包出来的bundle文件夹里面是src目录里面有images这些文件。 codepush 推送的bundle.js 里面就会有这些文件的base64编码在里面么? 还是怎么样? 那assets打包部分,我们拿到了对比,知道哪些文件增加,修改,那应该如何将这些信息集成到bundle里面呢?

from blog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.