chore(bridge): 删除桥接包的提交记录和Git属性配置

删除了 .codely-bridge-commit 文件中存储的提交哈希值
移除了 .gitattributes 文件中的行结束符配置规则
```
This commit is contained in:
huadexuan committed 2026-09-24 21:41:14 +08:00
1 parent d26d323912
commit 13d0c80335
392 files changed
+1814 -1895

No files matched your search

@@ -0,0 +1,24 @@
using System.IO;
using UnityEngine;
namespace UnityTcp.Editor.Helpers
{
// Resolves the handshake file path. Content (unity_port, heartbeat, reason,
// ...) is owned entirely by the native heartbeat writer — see
// NativeUnityTcpBridgeHost.StartOrAttach.
public static class PortManager
{
private const string RegistryFileName = ".com-unity-codely.json";
private static string GetRegistryDirectory()
{
string projectRoot = Directory.GetParent(Application.dataPath)?.FullName ?? Application.dataPath;
string tempDir = Path.Combine(projectRoot, "Temp");
Directory.CreateDirectory(tempDir);
return tempDir;
}
public static string GetRegistryFilePath() =>
Path.Combine(GetRegistryDirectory(), RegistryFileName);
}
}