feat: RSI 启动器增强使用须知

This commit is contained in:
xkeyC 2024-05-01 15:30:17 +08:00
parent 37b584d85b
commit d05aa0d5f8

View File

@ -594,6 +594,22 @@ class ToolsUIModel extends _$ToolsUIModel {
}
_rsiEnhance(BuildContext context) async {
final userOK = await showConfirmDialogs(
context,
"RSI 启动器增强使用须知",
const Column(
mainAxisSize: MainAxisSize.min,
children: [
Text(
"RSI 启动器增强是一项社区功能,它会在您的电脑上解包 \"RSI Launcher\" 并加入额外的增强功能,具体使用哪些功能由您决定。"
"\n\n目前官方CIG仅许可我们进行多语言操作启动器下载增强是我们认为有用的额外功能违反cig用户协议https://robertsspaceindustries.com/eula可能导致账号被封禁等严重后果是否启用由您自己决定我们不对可能产生的后果游戏损坏账号封禁等承担任何责任。"
"\n\n对于启动器的修改内容我们开源于https://github.com/StarCitizenToolBox/RSILauncherEnhance如有需要您可自行查阅。"
"\n\n如果您因为任何原因需要取消此增强补丁,请直接覆盖安装官方启动器。"),
],
),
constraints:
BoxConstraints(maxWidth: MediaQuery.of(context).size.width * .55));
if (!userOK) return;
if ((await SystemHelper.getPID("\"RSI Launcher\"")).isNotEmpty) {
if (!context.mounted) return;
showToast(