Remove generated artifacts and machine-specific paths

This commit is contained in:
2026-07-18 03:37:11 +08:00
parent 99c0f54998
commit cc3fb97be7
5713 changed files with 97 additions and 11438401 deletions
@@ -11,7 +11,7 @@ namespace AssemblyKnowledgeAudit;
internal class Program
{
const int Asm = 2, Silent = 1, ReadOnly = 2;
const string StandardPartSourceRoot = "D:\\Desktop\\\u51cf\u901f\u5668\\\u4e09\u7ef4";
static string StandardPartSourceRoot => Environment.GetEnvironmentVariable("AGENT4_REDUCER_MODEL_DIR") ?? "";
[DllImport("ole32.dll", CharSet = CharSet.Unicode)] static extern int CLSIDFromProgID(string progId, out Guid clsid);
[DllImport("oleaut32.dll", PreserveSig = false)]
@@ -30,7 +30,9 @@ internal class Program
{
try
{
string asmPath = args.Length > 0 ? args[0] : @"D:\Desktop\鍑忛€熷櫒\涓夌淮\瑁呴厤浣?.SLDASM";
string asmPath = args.Length > 0
? args[0]
: throw new ArgumentException("Provide an assembly path or set AGENT4_REDUCER_MODEL_DIR.");
if (!File.Exists(asmPath) || !string.Equals(Path.GetExtension(asmPath), ".SLDASM", StringComparison.OrdinalIgnoreCase))
throw new Exception("Please input a valid .SLDASM assembly path.");