### 2024-12-21 星期六更新
------ #### SuperDesign V3.0.2412.2101 - *.[新增]新增支持多选更新日志列表,合并生成Html日志。 - *.[改进]支持设置解决方案中的哪些项目日志不显示在Html日志列表里。 - *.[改进]打开时默认选中主项目的更新日志Tab。 - *.[修复]修复创建项目时的版权日期不会随着当前日期更新的BUG。 - *.[修复]修复创建项目时引用的RaUI项目文件无法转换成RaUI.dll的BUG。 - *.[修复]修复连续快速打开项目,会导致软件多开的BUG。
This commit is contained in:
1 parent
a0cbe0a68f
commit
1501abd07f
15 files changed
+391
-172
No files matched your search
@@ -41,20 +41,26 @@ namespace SuperDesign.Manager
|
||||
}
|
||||
return log_text;
|
||||
}
|
||||
public static string GetHtmlLogText(JArray jarr, DateTime dt)
|
||||
public static string GetHtmlLogText(string bf_folder, JArray jarr, DateTime dt)
|
||||
{
|
||||
ryCommon.Ini ini = new Ini(bf_folder + "\\查看项目.ryp");
|
||||
string log_text = "";
|
||||
for (int i = 0; i < jarr.Count; i++)
|
||||
{
|
||||
var item = jarr[i];
|
||||
if(log_text.Length!=0)
|
||||
var eng_name= item.GetJsonValue("ProjectName", "");
|
||||
if(ini.ReadIni("NoVerHtml", eng_name,0)==1)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if (log_text.Length != 0)
|
||||
{
|
||||
log_text += "\r\n";
|
||||
}
|
||||
var ProjectName = item.GetJsonValue("ProjectChsName", "");
|
||||
if(ProjectName.Length==0)
|
||||
{
|
||||
ProjectName = item.GetJsonValue("ProjectName", "");
|
||||
ProjectName = eng_name;
|
||||
}
|
||||
log_text += "<h4>" + System.Web.HttpUtility.HtmlEncode(ProjectName) + "</h4>";
|
||||
var logs = item.GetJsonValue("LogText", "").Replace("\r", "\n").Replace("\n\n", "\n").Split('\n');
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using ryCommon;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -23,17 +24,25 @@ namespace 开发辅助工具
|
||||
else if (args[0] == "get")
|
||||
{
|
||||
string ProjectPath = args[1];
|
||||
run = new System.Threading.Mutex(true, "SuperDesign_"+rySafe.MD5Sha1.GetMD5(ProjectPath), out bool runone);
|
||||
run = new System.Threading.Mutex(true, "S_"+rySafe.MD5Sha1.GetMD5(ProjectPath), out bool runone);
|
||||
if (!runone) //已经运行了
|
||||
{
|
||||
var handle = QuickMsg.RyMemoryShare.ReadFromMemory("SuperDesign" + rySafe.MD5Sha1.GetMD5(ProjectPath), 0);
|
||||
Ini ini = new Ini(Application.StartupPath + "\\UserDb\\Win.dat");
|
||||
var handle = ini.ReadIni("ProjectHwnd", rySafe.MD5Sha1.GetMD5(ProjectPath),0); ;
|
||||
if(handle>0)
|
||||
{
|
||||
ryControls.Win32.SendMessage((IntPtr)handle, 17189, 100, 100);
|
||||
if (RyForm.GetWinText((IntPtr)handle).Length > 0)
|
||||
{
|
||||
ryControls.Win32.SendMessage((IntPtr)handle, 17189, 100, 100);
|
||||
}
|
||||
else
|
||||
{
|
||||
Application.Run(new Form1(ProjectPath, "get"));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Application.Run(new Form1(ProjectPath, "get"));
|
||||
// Application.Run(new Form1(ProjectPath, "get"));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -291,7 +291,9 @@ namespace 开发辅助工具.Manager
|
||||
{
|
||||
var Reference_FileName = IncludePath.Substring(iPos + 1).ToLower();//引用的项目文件名称
|
||||
string dll_name = "";
|
||||
if (Reference_FileName == "MyDbV4.csproj".ToLower())
|
||||
if (Reference_FileName == "RaUIV4.csproj".ToLower())
|
||||
{ dll_name = "RaUI.dll"; }
|
||||
else if (Reference_FileName == "MyDbV4.csproj".ToLower())
|
||||
{ dll_name = "MyDb.dll"; }
|
||||
else if (Reference_FileName == "MyDb_SQLiteV4.csproj".ToLower())
|
||||
{ dll_name = "MyDb_SQLite.dll"; }
|
||||
|
||||
Reference in new issue
Block a user