### 2024-12-20 星期五更新
------ #### SuperDesign V3.0.2412.2003 - *.[新增]新增支持更新日志发布时自动调用起TortoiseGit。 - *.[新增]版本列表新增支持设置正式版本。 - *.[改进]自定义对话框针对单选函数返回值,则使用if而不是switch语句。 - *.[改进]点击发布日志按钮弹出确认框,避免误点击。 - *.[改进]更新版本列表的更新时间支持昨天、今天的简短显示。
This commit is contained in:
1 parent
179f349d8f
commit
a0cbe0a68f
36 files changed
+245
-1770
No files matched your search
@@ -2,9 +2,11 @@
|
||||
using ryCommon;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using 开发辅助工具;
|
||||
|
||||
namespace SuperDesign.Manager
|
||||
{
|
||||
@@ -72,6 +74,19 @@ namespace SuperDesign.Manager
|
||||
}
|
||||
return log_text;
|
||||
}
|
||||
public static string GetTortoiseGitProcPath()
|
||||
{
|
||||
DriveInfo[] driveInfo = DriveInfo.GetDrives();
|
||||
for (int i = 0; i < driveInfo.Length; i++)
|
||||
{
|
||||
var path = driveInfo[i].Name + "Program Files\\TortoiseGit\\bin\\TortoiseGitProc.exe";
|
||||
if (System.IO.File.Exists(path))
|
||||
{
|
||||
return path;
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取参数翻译名称
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user