卸载文件修改

master
he 2024-11-12 09:53:49 +08:00
parent 9a091f1892
commit deef572151
2 changed files with 3 additions and 3 deletions

View File

@ -101,14 +101,14 @@ var configFolder = $@"C:\ProgramData\.xingcang\";
var configPath = Path.Combine(configFolder, "config.json"); var configPath = Path.Combine(configFolder, "config.json");
if (!File.Exists(configPath)) if (!File.Exists(configPath))
{ {
MyLog("EI-Med Viewer has not been installed. No need to uninstall."); MyLog("LiLi DICOM Viewer has not been installed. No need to uninstall.");
Console.ReadLine(); Console.ReadLine();
} }
else else
{ {
Console.ForegroundColor = ConsoleColor.Red; Console.ForegroundColor = ConsoleColor.Red;
MyLog(""); MyLog("");
MyLog("Warning: uninstalling EI-Med Viewer service will clear backend service, database, website files and all data records of the operation. Please make sure data has been backed up."); MyLog("Warning: uninstalling LiLi DICOM Viewer service will clear backend service, database, website files and all data records of the operation. Please make sure data has been backed up.");
MyLog(" Continue to uninstall the service?Y/N"); MyLog(" Continue to uninstall the service?Y/N");
Console.ResetColor(); Console.ResetColor();
@ -193,7 +193,7 @@ else
MyLog("Delete activation information..."); MyLog("Delete activation information...");
DeleteFolderContents(configFolder); DeleteFolderContents(configFolder);
MyLog("The EI-Med Viewer service has been uninstalled."); MyLog("The LiLi DICOM Viewer service has been uninstalled.");
MyLog("Will automatically exit in 3 seconds…"); MyLog("Will automatically exit in 3 seconds…");
await Task.Delay(3000); await Task.Delay(3000);

Binary file not shown.