From 759322174875d8c27e427cb4be9901cc6ec4e814 Mon Sep 17 00:00:00 2001 From: gitee-bot Date: Thu, 25 Sep 2025 15:03:43 +0000 Subject: [PATCH] Add README.md --- README.en.md | 38 ++++++++++++++++++++++++++++++++++++++ README.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 README.en.md create mode 100644 README.md diff --git a/README.en.md b/README.en.md new file mode 100644 index 0000000..a27ff63 --- /dev/null +++ b/README.en.md @@ -0,0 +1,38 @@ +# Survival Wars Server Auto Restart Tool + +This tool is designed to provide automatic restart functionality for the "Survival Wars" game server, ensuring the server runs continuously and stably. + +## Features + +- **Automatic Restart:** Automatically restarts the service when service termination is detected. +- **Scheduled Restart:** Supports restarting the service at specified time points. +- **Interval Restart:** Supports restarting the service at specified time intervals. +- **Remote Command Sending:** Allows commands to be sent to the server via the network. + +## Technologies Used + +- Written in C#, compatible with the .NET Framework environment. +- Uses Windows Forms to build the graphical user interface. +- Supports configuration saving and loading. + +## Key Components + +- `Form1.cs`: Main form logic, including timer, process control, and other functionalities. +- `LinuxRestartTool/Program.cs`: Restart tool logic for Linux platforms. +- `Properties/AssemblyInfo.cs`: Configuration of assembly information. + +## Installation and Running + +Ensure that the .NET Framework runtime environment is installed on your system. After downloading the project, open the solution file using Visual Studio and compile/run it. + +## Contribution Guide + +Code contributions to improve this tool are welcome. Please submit Pull Requests or Issues to the project's Gitee page. + +## License + +This project is licensed under the MIT License. For details, please refer to the LICENSE file included in the project. + +--- + +For further information, please consult the specific code files of the project. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..217a69d --- /dev/null +++ b/README.md @@ -0,0 +1,42 @@ +该项目似乎是一个用于自动重启“生存战争”游戏服务器程序的工具。以下是该项目的README内容概要: + +--- + +# 生存战争服务端程序自动重启工具 + +本工具旨在为“生存战争”游戏服务器提供自动重启功能,确保服务器能够持续稳定运行。 + +## 功能特性 + +- 自动重启服务:当检测到服务停止时,自动重新启动服务。 +- 定时重启:支持设定时间点进行服务重启。 +- 间隔重启:支持按照设定的时间间隔进行服务重启。 +- 远程命令发送:允许通过网络发送命令至服务端。 + +## 使用技术 + +- C# 编写,适用于 .NET Framework 环境。 +- 使用 Windows Forms 构建图形界面。 +- 支持配置保存与读取。 + +## 主要组件 + +- `Form1.cs`:主窗体逻辑,包含定时器、进程控制等功能。 +- `LinuxRestartTool/Program.cs`:Linux平台下的重启工具逻辑。 +- `Properties/AssemblyInfo.cs`:程序集信息配置。 + +## 安装与运行 + +确保您的系统已安装 .NET Framework 运行环境。下载本项目后,可通过 Visual Studio 打开解决方案文件并编译运行。 + +## 贡献指南 + +欢迎贡献代码以改进此工具。请提交 Pull Request 或 Issue 至本项目的 Gitee 页面。 + +## 许可证 + +本项目采用 MIT 许可证。详情请查看项目中的 LICENSE 文件。 + +--- + +如需进一步的信息,请查阅项目的具体代码文件。 \ No newline at end of file -- Gitee