应用程序自动更新组件GeneralUpdate3.2.1发布
GeneralUpdate開源組件更新公告
一、組件簡介
GeneralUpdate是基于.net standard開發(fā)的一款(c/s應(yīng)用)自動升級程序。該組件將更新的核心部分抽離出來方便應(yīng)用于多種項目當(dāng)中目前適用于wpf,控制臺應(yīng)用,winfrom。
本組件(除Single組件僅支持Framework以外)均支持框架版本 .NET Framework 4.6.1 | .NET Core 2.0 | .NET 5
如果有任何使用問題可以在Github的issues上進(jìn)行提問,每周會解決并解答bug或者問題。
每次迭代新版本doc文件夾中的幫助文檔也會隨之更新,各位開發(fā)者請多關(guān)注。
如果該組件能夠幫助到您,希望可以點個Strat和關(guān)注一下文檔末尾的聯(lián)系方式。您的支持是對開源作者的動力。
使用:
Gitee(碼云)地址:
https://gitee.com/Juster-zhu/GeneralUpdate
Nuget地址:
https://www.nuget.org/packages/GeneralUpdate.Core/
https://www.nuget.org/packages/GeneralUpdate.Single/
https://www.nuget.org/packages/GeneralUpdate.Zip/
GitHub地址:
Address:https://github.com/WELL-E/AutoUpdater/tree/autoupdate2
Issues:https://github.com/WELL-E/AutoUpdater/issues
二、版本更新2021-3-18
(1)聲明
本組件將支持以下框架開發(fā)的應(yīng)用程序。.NET Framework 4.6.1 | .NET Core 2.0 | .NET 5
GeneralUpdate.Single組件目前僅支持wpf和.NET Framework框架。
(2)新增
GeneralUpdate.Core-3.2.1版本,新增更新失敗回滾功能。
新增了組件 GeneralUpdate.Zip-1.0.0,它將為程序帶來壓縮文件和解壓壓縮包的功能且能獨(dú)立使用。
(3)修復(fù)、修改
修復(fù)事件多線程操作時,不通知問題。
組件的框架版本從.NET Framework4.5.2修改為.net standard 2.0。(支持框架參考:https://docs.microsoft.com/zh-cn/dotnet/standard/net-standard)
(4)移除
移除7zip第三方組件的依賴
移除RegistryUtil工具類
三、GeneralUpdate Quick start
args = new string[6] {"0.0.0.0","1.1.1.1","https://github.com/WELL-E","http://192.168.50.225:7000/update.zip",@"E:\PlatformPath","509f0ede227de4a662763a4abe3d8470",};GeneralUpdateBootstrap bootstrap = new GeneralUpdateBootstrap();bootstrap.DownloadStatistics += OnDownloadStatistics;bootstrap.ProgressChanged += OnProgressChanged;bootstrap.Strategy<DefultStrategy>().Option(UpdateOption.Format, "zip").Option(UpdateOption.MainApp, "your application name").Option(UpdateOption.DownloadTimeOut,60).RemoteAddress(args).Launch();Corporate
Style
掃碼
長按關(guān)注
關(guān)注
驚喜不斷
總結(jié)
以上是生活随笔為你收集整理的应用程序自动更新组件GeneralUpdate3.2.1发布的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: MySQL优化从执行计划开始(expla
- 下一篇: EF Core事务提交,分布式事务