Skip to content

Commit

Permalink
修正服务出现的错误。
Browse files Browse the repository at this point in the history
  • Loading branch information
OdysseusYuan committed Dec 14, 2022
1 parent e2596f7 commit 455b98a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion LKY_OfficeTools/Lib/Lib_AppInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ internal class AppAttribute
/// <summary>
/// APP 版本号
/// </summary>
internal const string AppVersion = "1.1.1.1213";
internal const string AppVersion = "1.1.1.1214";

/// <summary>
/// 开发者拼音全拼
Expand Down
8 changes: 4 additions & 4 deletions LKY_OfficeTools/OfficeTools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ internal class OfficeTools
{
static void Main(string[] args)
{
//设定编码,解决英文系统乱码问题
Console.OutputEncoding = Encoding.GetEncoding("gbk");

//命令行检测
new Lib_AppCommand(args);


//设定编码,解决英文系统乱码问题
Console.OutputEncoding = Encoding.GetEncoding("gbk"); //必须在启动模式判断之后再进行本函数执行。否则服务模式将引发 1053 错误!

//中断检测
CloseWindow.SetConsoleCtrlHandler(CloseWindow.newDelegate, true);

Expand Down
4 changes: 2 additions & 2 deletions LKY_OfficeTools/Resource/Json/LKY_OfficeTools_AppInfo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Latest_Version": "1.1.0.21202",
"Latest_Version_Update_Url": "https://gitee.com/OdysseusYuan/LKY_OfficeTools/releases/download/AppInfo/LKY_OfficeTools_v1.1.0.21202.zip",
"Latest_Version": "1.1.1.1214",
"Latest_Version_Update_Url": "https://gitee.com/OdysseusYuan/LKY_OfficeTools/releases/download/AppInfo/LKY_OfficeTools_v1.1.1.1214.zip",

"Count_Url": "https://odysseusyuan.gitee.io/lky_officetools/running_count.html",
"Count_Feedback_To": "[email protected]",
Expand Down

0 comments on commit 455b98a

Please sign in to comment.