Skip to content

feat: 添加 C# + WinUI 3 桌面版 GSM3 游戏服务器管理面板#86

Closed
gao918929 wants to merge 1 commit into
GSManagerXZ:mainfrom
gao918929:windows-exe版本

Hidden character warning

The head ref may contain hidden characters: "windows-exe\u7248\u672c"
Closed

feat: 添加 C# + WinUI 3 桌面版 GSM3 游戏服务器管理面板#86
gao918929 wants to merge 1 commit into
GSManagerXZ:mainfrom
gao918929:windows-exe版本

Conversation

@gao918929

Copy link
Copy Markdown

完整移植原 Node.js + React 版本的所有功能到 Windows 原生桌面应用:

架构:

  • .NET 8.0 + WinUI 3 (Windows App SDK 2.2)
  • MVVM 模式 (CommunityToolkit.Mvvm)
  • 依赖注入 (Microsoft.Extensions.DependencyInjection)

核心服务层 (15个服务):

  • InstanceManager: 游戏服务器实例管理,进程生命周期控制
  • TerminalManager: PowerShell 终端会话管理
  • SystemMonitor: WMI 系统资源监控 (CPU/内存/磁盘/网络)
  • UserManager: 多用户管理 (SHA256+salt,登录锁定)
  • BackupManager: ZIP 压缩备份与恢复
  • SchedulerManager: Cron 定时任务调度
  • FileManager: 文件浏览/编辑/压缩操作
  • RconManager + RconProtocol: Source RCON 协议实现
  • SteamCMDManager: SteamCMD 安装和游戏部署
  • ConfigManager: 应用配置管理
  • GameConfigService: 游戏配置文件解析 (INI/Properties)
  • ProcessRunner: 进程启动器
  • CronParser: Cron 表达式解析

UI 页面 (13个页面):

  • 仪表盘/实例管理/终端/文件管理/游戏部署
  • 定时任务/备份管理/系统监控/运行环境
  • 插件管理/用户管理/设置/关于

新增功能:

  • 多用户支持 (管理员/普通用户角色)
  • 登录/注册界面,账号锁定机制
  • 游戏配置模板 (PalWorld/Minecraft/Terraria)

完整移植原 Node.js + React 版本的所有功能到 Windows 原生桌面应用:

架构:
- .NET 8.0 + WinUI 3 (Windows App SDK 2.2)
- MVVM 模式 (CommunityToolkit.Mvvm)
- 依赖注入 (Microsoft.Extensions.DependencyInjection)

核心服务层 (15个服务):
- InstanceManager: 游戏服务器实例管理,进程生命周期控制
- TerminalManager: PowerShell 终端会话管理
- SystemMonitor: WMI 系统资源监控 (CPU/内存/磁盘/网络)
- UserManager: 多用户管理 (SHA256+salt,登录锁定)
- BackupManager: ZIP 压缩备份与恢复
- SchedulerManager: Cron 定时任务调度
- FileManager: 文件浏览/编辑/压缩操作
- RconManager + RconProtocol: Source RCON 协议实现
- SteamCMDManager: SteamCMD 安装和游戏部署
- ConfigManager: 应用配置管理
- GameConfigService: 游戏配置文件解析 (INI/Properties)
- ProcessRunner: 进程启动器
- CronParser: Cron 表达式解析

UI 页面 (13个页面):
- 仪表盘/实例管理/终端/文件管理/游戏部署
- 定时任务/备份管理/系统监控/运行环境
- 插件管理/用户管理/设置/关于

新增功能:
- 多用户支持 (管理员/普通用户角色)
- 登录/注册界面,账号锁定机制
- 游戏配置模板 (PalWorld/Minecraft/Terraria)

Co-Authored-By: Claude <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@github-actions

Copy link
Copy Markdown

⚠ 本 PR 已进入自动化语法检查流程,请稍后

本次变更文件 (82 个):

  • desktop/GSM3/.gitignore (added)
  • desktop/GSM3/App.xaml (added)
  • desktop/GSM3/App.xaml.cs (added)
  • desktop/GSM3/Assets/AppIcon.ico (added)
  • desktop/GSM3/Assets/LockScreenLogo.scale-200.png (added)
  • desktop/GSM3/Assets/SplashScreen.scale-200.png (added)
  • desktop/GSM3/Assets/Square150x150Logo.scale-200.png (added)
  • desktop/GSM3/Assets/Square44x44Logo.scale-200.png (added)
  • desktop/GSM3/Assets/Square44x44Logo.targetsize-24_altform-unplated.png (added)
  • desktop/GSM3/Assets/Square44x44Logo.targetsize-48_altform-lightunplated.png (added)
  • desktop/GSM3/Assets/StoreLogo.png (added)
  • desktop/GSM3/Assets/Wide310x150Logo.scale-200.png (added)
  • desktop/GSM3/Converters/Converters.cs (added)
  • desktop/GSM3/GSM3.csproj (added)
  • desktop/GSM3/GameConfigs/minecraft.yml (added)
  • desktop/GSM3/GameConfigs/palworld.yml (added)
  • desktop/GSM3/GameConfigs/terraria.yml (added)
  • desktop/GSM3/Helpers/Helpers.cs (added)
  • desktop/GSM3/MainWindow.xaml (added)
  • desktop/GSM3/MainWindow.xaml.cs (added)
  • desktop/GSM3/Models/AppConfig.cs (added)
  • desktop/GSM3/Models/BackupInfo.cs (added)
  • desktop/GSM3/Models/FileItem.cs (added)
  • desktop/GSM3/Models/Instance.cs (added)
  • desktop/GSM3/Models/RconConfig.cs (added)
  • desktop/GSM3/Models/ScheduledTask.cs (added)
  • desktop/GSM3/Models/SystemInfo.cs (added)
  • desktop/GSM3/Models/TerminalSession.cs (added)
  • desktop/GSM3/Models/User.cs (added)
  • desktop/GSM3/Package.appxmanifest (added)
  • desktop/GSM3/Pages/AboutPage.xaml (added)
  • desktop/GSM3/Pages/AboutPage.xaml.cs (added)
  • desktop/GSM3/Pages/BackupPage.xaml (added)
  • desktop/GSM3/Pages/BackupPage.xaml.cs (added)
  • desktop/GSM3/Pages/DashboardPage.xaml (added)
  • desktop/GSM3/Pages/DashboardPage.xaml.cs (added)
  • desktop/GSM3/Pages/EnvironmentPage.xaml (added)
  • desktop/GSM3/Pages/EnvironmentPage.xaml.cs (added)
  • desktop/GSM3/Pages/FilesPage.xaml (added)
  • desktop/GSM3/Pages/FilesPage.xaml.cs (added)
  • desktop/GSM3/Pages/GameDeployPage.xaml (added)
  • desktop/GSM3/Pages/GameDeployPage.xaml.cs (added)
  • desktop/GSM3/Pages/InstancesPage.xaml (added)
  • desktop/GSM3/Pages/InstancesPage.xaml.cs (added)
  • desktop/GSM3/Pages/PluginsPage.xaml (added)
  • desktop/GSM3/Pages/PluginsPage.xaml.cs (added)
  • desktop/GSM3/Pages/SchedulerPage.xaml (added)
  • desktop/GSM3/Pages/SchedulerPage.xaml.cs (added)
  • desktop/GSM3/Pages/SettingsPage.xaml (added)
  • desktop/GSM3/Pages/SettingsPage.xaml.cs (added)
  • desktop/GSM3/Pages/SystemPage.xaml (added)
  • desktop/GSM3/Pages/SystemPage.xaml.cs (added)
  • desktop/GSM3/Pages/TerminalPage.xaml (added)
  • desktop/GSM3/Pages/TerminalPage.xaml.cs (added)
  • desktop/GSM3/Pages/UsersPage.xaml (added)
  • desktop/GSM3/Pages/UsersPage.xaml.cs (added)
  • desktop/GSM3/Properties/launchSettings.json (added)
  • desktop/GSM3/Services/BackupManager.cs (added)
  • desktop/GSM3/Services/ConfigManager.cs (added)
  • desktop/GSM3/Services/CronParser.cs (added)
  • desktop/GSM3/Services/FileManager.cs (added)
  • desktop/GSM3/Services/GameConfigService.cs (added)
  • desktop/GSM3/Services/InstanceManager.cs (added)
  • desktop/GSM3/Services/ProcessRunner.cs (added)
  • desktop/GSM3/Services/RconManager.cs (added)
  • desktop/GSM3/Services/RconProtocol.cs (added)
  • desktop/GSM3/Services/SchedulerManager.cs (added)
  • desktop/GSM3/Services/ServiceLocator.cs (added)
  • desktop/GSM3/Services/SteamCMDManager.cs (added)
  • desktop/GSM3/Services/SystemMonitor.cs (added)
  • desktop/GSM3/Services/TerminalManager.cs (added)
  • desktop/GSM3/Services/UserManager.cs (added)
  • desktop/GSM3/ViewModels/BackupViewModel.cs (added)
  • desktop/GSM3/ViewModels/DashboardViewModel.cs (added)
  • desktop/GSM3/ViewModels/FilesViewModel.cs (added)
  • desktop/GSM3/ViewModels/InstancesViewModel.cs (added)
  • desktop/GSM3/ViewModels/SchedulerViewModel.cs (added)
  • desktop/GSM3/ViewModels/SettingsViewModel.cs (added)
  • desktop/GSM3/ViewModels/SystemViewModel.cs (added)
  • desktop/GSM3/ViewModels/TerminalViewModel.cs (added)
  • desktop/GSM3/ViewModels/UsersViewModel.cs (added)
  • desktop/GSM3/app.manifest (added)

正在进行 TypeScript 语法检查...

@gao918929 gao918929 closed this Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant