简体   繁体   English

如何避免 Electron 应用程序自动更新?

[英]How to avoid Electron application auto update?

How to avoid Electron app auto update?如何避免 Electron 应用自动更新? My Electron application recently acts so weird.我的 Electron 应用程序最近表现得很奇怪。 When I closed the application the icon on desktop disappear and few minutes later it show again but it becomes the electron-react-boilerplate template on my desktop.当我关闭应用程序时,桌面上的图标消失了,几分钟后它再次显示,但它变成了我桌面上的电子反应样板模板。 I figured out that my electron application auto updated and make my original application gone.我发现我的电子应用程序自动更新并使我原来的应用程序消失了。 I google how do avoid auto update but nothing I can find either in electron official website or other website.我用谷歌搜索如何避免自动更新,但在电子官方网站或其他网站上都找不到。 Does anyone know how to fix it?有谁知道如何修理它?

If you open main.ts you can find AppUpdater and comment above it about auto-updates.如果您打开 main.ts,您可以找到 AppUpdater 并在其上方评论自动更新。 But I don't think that is what happened to you.但我不认为这是发生在你身上的事。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM