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
@@ -757,7 +757,7 @@ static void StartAutoCadFromRegistry(string progId)
var command = string.IsNullOrWhiteSpace(clsid) ? "" : ReadDefaultValue($@"CLSID\{clsid}\LocalServer32");
var exe = ExtractExePath(command);
if (string.IsNullOrWhiteSpace(exe) || !File.Exists(exe))
exe = @"D:\Program Files\Autodesk\AutoCAD 2020\acad.exe";
exe = Environment.GetEnvironmentVariable("AUTOCAD_EXE") ?? "";
if (!File.Exists(exe))
throw new FileNotFoundException($"acad.exe not found. ProgID={progId}, LocalServer32={command}");