3 Star 10 Fork 7

zecak/Anye.Soft.AutoUpdate

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

暗夜软件自动更新

介绍

这是一款 dotnet 基于C#语言开发,开源跨平台通用自动更新程序

特点

  1. 跨平台,轻量级,通用
  2. 差异更新,更新速度快
  3. 界面管理更新数据,操作简单
  4. 运行方式支持:普通运行和服务运行
  5. 自动更新支持:可执行程序和服务程序

使用教程

  1. 运行服务端:
  • windows:双击运行[Anye.Soft.AutoUpdate.Server.exe]
    
  • linux:先进入[程序目录],之后执行:`bash linux_run.sh`
    

输入图片说明

  1. 使用管理端程序:
  • 运行[Anye.Soft.AutoUpdate.Manage.exe]
  • 创建更新服务: [新增服务] => 在列表里双击<刚刚新增的服务>
  • 创建更新库: => [创建更新库]
  • 创建程序版本: => [新增版本] => [导入目录] => [发布]

输入图片说明

  1. 使用命令端程序(先进入程序目录):
  • windows

    a-1. 添加更新库配置:Anye.Soft.AutoUpdate.Exec.exe add -n app1 -t 127.0.0.1:9999 -u updater -k 123456 -l app1

    a-2. 执行更新:Anye.Soft.AutoUpdate.Exec.exe update -n app1

    或. 直接执行:Anye.Soft.AutoUpdate.Exec.exe run -t 127.0.0.1:9999 -u updater -k 123456 -l app1

  • linux

    b-1. 添加更新库配置:dotnet Anye.Soft.AutoUpdate.Exec.dll add -n app1 -t 127.0.0.1:9999 -u updater -k 123456 -l app1

    b-2. 执行更新:dotnet Anye.Soft.AutoUpdate.Exec.dll update -n app1

    或. 直接执行:dotnet Anye.Soft.AutoUpdate.Exec.dll run -t 127.0.0.1:9999 -u updater -k 123456 -l app1

(详细请看项目下的[使用说明.txt])

输入图片说明

项目说明

  1. 服务端:服务提供接口

    使用说明.txt

    Anye.Soft.AutoUpdate.Server.exe ---------------> windows程序

    win_install.bat -------------------------------> 安装成windows服务

    win_start_service.bat -------------------------> 启动windows服务

    win_stop_service.bat --------------------------> 停止windows服务

    win_uninstall.bat -----------------------------> 卸载windows服务

    Anye.Soft.AutoUpdate.Server.dll ---------------> linux程序

    anyesoft.autoupdate.service -------------------> linux服务配置

    linux_disable_service.sh ----------------------> linux服务取消开机启动

    linux_enable_service.sh -----------------------> linux服务开机启动

    linux_restart_service.sh ----------------------> linux服务重启

    linux_start_service.sh ------------------------> linux服务启动

    linux_stop_service.sh -------------------------> linux服务停止

    linux_run.sh ----------------------------------> linux程序后台运行

    log4net.config --------------------------------> 日志配置

    server.json -----------------------------------> 配置文件

    ......

  2. 管理端:连接服务端,管理更新库信息

    使用说明.txt

    Anye.Soft.AutoUpdate.Manage.exe ---------------> windows程序

    log4net.config --------------------------------> 日志配置

    ......

  3. 命令端:连接服务端,获取更新库信息,实现自动更新程序

    使用说明.txt

    Anye.Soft.AutoUpdate.Exec.exe -----------------> windows程序

    Anye.Soft.AutoUpdate.Exec.dll -----------------> linux程序

    log4net.config --------------------------------> 日志配置

    ......

MIT License Copyright (c) 2021 zecak Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

这是一款 dotnet 基于C#语言开发,开源跨平台通用自动更新程序 展开 收起
README
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/zecak/AutoUpdate.git
git@gitee.com:zecak/AutoUpdate.git
zecak
AutoUpdate
Anye.Soft.AutoUpdate
master

搜索帮助