Skip to content

Feature/multiple launch commands 1858 - #1890

Open
Cooper1896 wants to merge 2 commits into
Scighost:mainfrom
Cooper1896:feature/multiple-launch-commands-1858
Open

Feature/multiple launch commands 1858#1890
Cooper1896 wants to merge 2 commits into
Scighost:mainfrom
Cooper1896:feature/multiple-launch-commands-1858

Conversation

@Cooper1896

Copy link
Copy Markdown

q2092 added 2 commits July 16, 2026 11:10
- 新增 GameLaunchScheme 数据模型 (Id/Name/ExecutablePath/Arguments/RunAsAdmin)
  以及内置默认预设 (沿用现有 '自定义启动程序 + 命令行参数' 设置)
- AppConfig 新增每游戏区服的 LaunchSchemes 与 SelectedLaunchSchemeId 存储
- GameLauncherService.StartGameAsync 增加可选 scheme 参数:
  自定义预设优先使用其自身 ExecutablePath / Arguments,
  否则回退到默认游戏启动流程(保持向后兼容)
- StartGameButton 在设置齿轮左侧新增下拉按钮,展开 MenuFlyout
  列出所有启动预设,选中项带勾号;仅当存在自定义预设时显示
- 点击预设菜单项:立即以该预设启动游戏并记住选择
- 设置对话框 '启动参数' 页新增 '启动方式' 区域,
  可增/删/上下调整自定义预设,编辑名称、启动程序、命令行参数与管理员权限选项
- 新增 LaunchSchemesChangedMessage 用于跨界面同步预设变更
- 新增中/英文本地化字符串
设置对话框的 FlipView 高度固定为 480,添加多个启动预设
后原有 StackPanel 直接置于 FlipViewItem 会被裁剪且无法滚动。
将 '启动参数' 页 StackPanel 包在 ScrollViewer 中,
支持鼠标滚轮和滚动条。
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