Git Product home page Git Product logo

Comments (6)

907796658 avatar 907796658 commented on July 20, 2024 12

超麻烦- -

from blog.

JChehe avatar JChehe commented on July 20, 2024

@907796658 其实对于无需更改主进程代码的『页面』可以通过服务器获取。而主程序升级则可以像有道云笔记等软件一样,通过浏览器打开新版本链接进行下载完整版即可。

from blog.

907796658 avatar 907796658 commented on July 20, 2024

是的,目前正在使用这个方案,希望以后会有更简单的electron自动更新的方案吧,目前太难用了

from blog.

yzzhuo avatar yzzhuo commented on July 20, 2024

@907796658 我是electron-builder打包,搭配electron-updater实现的自动更新,简单很多

from blog.

gemmi avatar gemmi commented on July 20, 2024

想请教个问题,mac 下,是否可以从别处复制 app.zip到Squirrel.Mac指定的下载目录,然后再触发autoUpdater.quitAndInstall()呢?
这么问主要是想通过其他方式下载 app,然后利用 quitAndInstall 来安装 app。
另外,Squirrel.Mac对应的下载目录在哪儿呢?跟 ShipIt 目录有什么关系吗?我查找了很多 app 的 ShipIt 目录,发现并没有升级时的缓存文件。

from blog.

JChehe avatar JChehe commented on July 20, 2024

@gemmi 不好意思,很久没接触 electron 了。目前不能解决您的问题。

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.