From 05d51a1336cf7a1442a62c7115d95007b6ad772f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=99=E8=85=BE=E7=8C=AB=E8=B7=83?= <1043137532@qq.com> Date: Tue, 18 Mar 2025 22:16:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=87=8D=E5=91=BD=E5=90=8D=20Result=20?= =?UTF-8?q?=E6=9E=9A=E4=B8=BE=E4=B8=BA=20ProcessReturnValues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Plain Craft Launcher 2/Modules/ModSecret.vb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plain Craft Launcher 2/Modules/ModSecret.vb b/Plain Craft Launcher 2/Modules/ModSecret.vb index 3e36f17..92b09ab 100644 --- a/Plain Craft Launcher 2/Modules/ModSecret.vb +++ b/Plain Craft Launcher 2/Modules/ModSecret.vb @@ -34,7 +34,7 @@ Friend Module ModSecret "2. 删除当前目录中的 PCL 文件夹,然后再试。" & vbCrLf & "3. 右键 PCL 选择属性,打开 兼容性 中的 以管理员身份运行此程序。", MsgBoxStyle.Critical, "运行环境错误") - Environment.[Exit](Result.Cancel) + Environment.[Exit](ProcessReturnValues.Cancel) End Try If Not CheckPermission(Path & "PCL") Then MsgBox("PCL 没有对当前文件夹的写入权限,请尝试:" & vbCrLf & @@ -42,7 +42,7 @@ Friend Module ModSecret "2. 删除当前目录中的 PCL 文件夹,然后再试。" & vbCrLf & "3. 右键 PCL 选择属性,打开 兼容性 中的 以管理员身份运行此程序。", MsgBoxStyle.Critical, "运行环境错误") - Environment.[Exit](Result.Cancel) + Environment.[Exit](ProcessReturnValues.Cancel) End If '开源版本提示 MyMsgBox($"该版本中无法使用以下特性: