基于启动后通过github更新版本

This commit is contained in:
2025-10-30 17:39:32 +08:00
parent c91c3149c0
commit 42404bb8e5
4 changed files with 203 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ type (
RestartSelf() error
// RenameRunningFile 重命名正在运行的程序文件(如 message.exe → message.exe~
RenameRunningFile(exePath string) (string, error)
CheckUpdate()
}
)