From 341bdf108ef1425f06164614cc63a88ebbf40049 Mon Sep 17 00:00:00 2001 From: liukaiyuan <liukaiyuan@sjtu.edu.cn> Date: Wed, 9 Nov 2022 08:18:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=A4=E4=BA=92=E8=AF=9D?= =?UTF-8?q?=E6=9C=AF=E4=BF=A1=E6=81=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LKY_OfficeTools/Lib/Lib_OfficeDownload.cs | 2 +- LKY_OfficeTools/Lib/Lib_OfficeInstall.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LKY_OfficeTools/Lib/Lib_OfficeDownload.cs b/LKY_OfficeTools/Lib/Lib_OfficeDownload.cs index 6d22e2f..11de8fb 100644 --- a/LKY_OfficeTools/Lib/Lib_OfficeDownload.cs +++ b/LKY_OfficeTools/Lib/Lib_OfficeDownload.cs @@ -88,7 +88,7 @@ internal static int FilesDownload() return 0; } - new Log($" √ {new FileInfo(save_path).Name} 已下载。\n", ConsoleColor.DarkGreen); + new Log($" √ {new FileInfo(save_path).Name} 已下载。", ConsoleColor.DarkGreen); } new Log($"\n------> 正在检查 Microsoft Office v{OfficeNetVersion.latest_version} 文件 ...", ConsoleColor.DarkCyan); diff --git a/LKY_OfficeTools/Lib/Lib_OfficeInstall.cs b/LKY_OfficeTools/Lib/Lib_OfficeInstall.cs index cff239f..7d7d91e 100644 --- a/LKY_OfficeTools/Lib/Lib_OfficeInstall.cs +++ b/LKY_OfficeTools/Lib/Lib_OfficeInstall.cs @@ -79,7 +79,7 @@ internal static bool ConflictCheck() //Office ID完全不同时(剔除 Current_Office_ID 键值为空,也就是注册表键值不存在的情况),需要卸载旧版本 if (!string.IsNullOrEmpty(Current_Office_ID) && Current_Office_ID != Pop_Office_ID) { - new Log($" * 发现冲突的 Office 版本:{Current_Office_ID},如需安装最新版,请先卸载旧版本。", ConsoleColor.DarkMagenta); + new Log($" $ 发现冲突的 Office 版本:{Current_Office_ID},如需安装最新版,请先卸载旧版本。", ConsoleColor.DarkRed); Console.ForegroundColor = ConsoleColor.Gray; Console.Write($" 卸载旧版全部组件,并仅安装新版 Word、Excel、PPT 三件套,请按 回车键 继续 ...");